Fix bug#1258 每日提醒有错误记录
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user