* adjust for task #2320.

This commit is contained in:
wangyidong
2015-09-16 16:41:45 +08:00
parent 44fae82506
commit 7d45f50cc2
4 changed files with 4 additions and 4 deletions

View File

@@ -1110,7 +1110,7 @@ class bug extends control
$mailContent = $this->parse($this->moduleName, 'sendmail');
/* Send it. */
$this->loadModel('mail')->send($toList, 'BUG #'. $bug->id . $this->lang->colon . $bug->title . ' - ' . $productName, $mailContent, $ccList);
$this->loadModel('mail')->send($toList, 'BUG #'. $bug->id . ' ' . $bug->title . ' - ' . $productName, $mailContent, $ccList);
if($this->mail->isError()) trigger_error(join("\n", $this->mail->getError()));
}

View File

@@ -1291,7 +1291,7 @@ class project extends control
$mailContent = $this->parse($this->moduleName, 'sendmail');
/* Send emails. */
$this->loadModel('mail')->send($toList, 'TASK#' . $task->id . $this->lang->colon . $task->name . ' - ' . $projectName, $mailContent, $ccList);
$this->loadModel('mail')->send($toList, 'TASK#' . $task->id . ' ' . $task->name . ' - ' . $projectName, $mailContent, $ccList);
if($this->mail->isError()) trigger_error(join("\n", $this->mail->getError()));
}

View File

@@ -1075,7 +1075,7 @@ class story extends control
$mailContent = $this->parse($this->moduleName, 'sendmail');
/* Send it. */
$this->loadModel('mail')->send($toList, 'STORY #' . $story->id . $this->lang->colon . $story->title . ' - ' . $productName, $mailContent, $ccList);
$this->loadModel('mail')->send($toList, 'STORY #' . $story->id . ' ' . $story->title . ' - ' . $productName, $mailContent, $ccList);
if($this->mail->isError()) trigger_error(join("\n", $this->mail->getError()));
}
/**

View File

@@ -951,7 +951,7 @@ class task extends control
$mailContent = $this->parse($this->moduleName, 'sendmail');
/* Send emails. */
$this->loadModel('mail')->send($toList, 'TASK#' . $task->id . $this->lang->colon . $task->name . ' - ' . $projectName, $mailContent, $ccList);
$this->loadModel('mail')->send($toList, 'TASK#' . $task->id . ' ' . $task->name . ' - ' . $projectName, $mailContent, $ccList);
if($this->mail->isError()) trigger_error(join("\n", $this->mail->getError()));
}