fix not found user issue
This commit is contained in:
parent
0c03ba8439
commit
adfa7cab83
|
@ -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