small fix for sent date
This commit is contained in:
parent
4a9121c378
commit
f0f98f5c09
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue