From b380b515c6dfadf747bdcd5b724b62e7b1112e96 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 31 Dec 2015 11:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=82=AE=E4=BB=B6=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 737a1ea69..2e796b2bb 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -273,7 +273,7 @@ class Mailer < ActionMailer::Base @subject = " #{user.show_name}#{l(:label_day_mail_first)}#{total_count}#{l(:label_day_mail_last)}" mylogger.debug "Sent activity mail : #{user.mail} - #{has_content}" #有内容才发,没有不发 - mail :to => user.mail,:subject => subject if has_content + mail :to => user.mail,:subject => @subject if has_content end # 作业截止时间邮件提醒