fix not found user issue
This commit is contained in:
parent
a296b1d6e3
commit
a723b22036
|
@ -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?
|
||||
|
||||
|
|
Loading…
Reference in New Issue