diff --git a/app/models/mail_cron.rb b/app/models/mail_cron.rb index d68bca4..b5fd412 100644 --- a/app/models/mail_cron.rb +++ b/app/models/mail_cron.rb @@ -38,7 +38,7 @@ class MailCron if !email_user_id.blank? - @user = User.find(email_user_id) + @user = User.find(email_user_id) rescue nil @group_mail << @user.email if !@user.blank?