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|