fix not found user issue

This commit is contained in:
spen 2014-11-19 10:13:53 +08:00
parent 0c03ba8439
commit adfa7cab83
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class MailCron
if !email_user_id.blank? 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? @group_mail << @user.email if !@user.blank?