Fix bug#1258 每日提醒有错误记录

This commit is contained in:
wangyidong
2017-10-27 14:21:12 +08:00
parent cba3dff61f
commit 0f2eb04f6a
+2
View File
@@ -210,6 +210,8 @@ class report extends control
/* Get email content and title.*/
$this->view->mail = $mail;
$this->view->mailTitle = $mailTitle;
$oldViewType = $this->viewType;
if($oldViewType == 'json') $this->viewType = 'html';
$mailContent = $this->parse('report', 'dailyreminder');