* finish task #1571.

This commit is contained in:
wyd621
2013-07-18 16:48:06 +08:00
parent 67fd654b2e
commit aae95743f9
8 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -800,7 +800,7 @@ class task extends control
/* Send emails. */
$this->loadModel('mail')->send($toList, $projectName . ':' . 'TASK#' . $task->id . $this->lang->colon . $task->name, $mailContent, $ccList);
if($this->mail->isError()) echo js::error($this->mail->getError());
if($this->mail->isError()) trigger_error(join("\n", $this->mail->getError()));
}
/**