From f0f98f5c09d8b28dc689d79e33048adb3c349f4e Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 26 Jul 2016 02:12:08 +0800 Subject: [PATCH] small fix for sent date --- app/controllers/admin/emailers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/emailers_controller.rb b/app/controllers/admin/emailers_controller.rb index 0324919..ae031aa 100644 --- a/app/controllers/admin/emailers_controller.rb +++ b/app/controllers/admin/emailers_controller.rb @@ -18,7 +18,7 @@ class Admin::EmailersController < OrbitAdminController email.recipients.each do |recipient| e = Email.new(:module_app_key => "emailer", :mail_to => recipient, :mail_subject => email.mail_subject, :mail_content => email.mail_content, :create_user_id => email.create_user_id) if !email.email_sentdate.nil? && email.email_sentdate > Time.now - e.email_sentdate = email.email_sentdate + e.mail_sentdate = email.email_sentdate end if !email.email_entry_files.blank? email.email_entry_files.each do |file|