+ add the feature of sendmail of story.

This commit is contained in:
wangchunsheng
2010-02-11 03:17:04 +00:00
parent f9bd56cae7
commit 36e07e1cbd
5 changed files with 100 additions and 22 deletions
+2 -2
View File
@@ -375,11 +375,11 @@ class bug extends control
die(html::select('bug', $bugs, '', 'class=select-1'));
}
/* 发送变量。*/
/* 发送邮件。*/
private function sendmail($bugID, $actionID)
{
/* 设定toList和ccList。*/
$bug = $this->bug->getByID($bugID);
$bug = $this->bug->getByID($bugID);
$toList = $bug->assignedTo;
$ccList = trim($bug->mailto, ',');
if($toList == '')