From a723b2203647dad204073e05a2f5d2f894658f87 Mon Sep 17 00:00:00 2001 From: spen Date: Wed, 19 Nov 2014 10:13:53 +0800 Subject: [PATCH] fix not found user issue --- app/models/mail_cron.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?