* adjust for task #2320.
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
@@ -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()));
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user