* fix the bug of sendmail.

This commit is contained in:
wangchunsheng
2010-01-15 05:38:26 +00:00
parent 01b80b1b6d
commit 7e7fe651e2

View File

@@ -129,7 +129,7 @@ class bug extends control
}
/* 创建Bug。*/
public function create($productID, $moduleID = 0, $projectID)
public function create($productID, $moduleID = 0)
{
if(empty($this->products)) $this->locate($this->createLink('product', 'create'));
@@ -384,7 +384,7 @@ class bug extends control
$this->assign('bug', $bug);
$this->assign('action', $action);
$this->assign('histories', $histories);
$mailContent = $this->fetch($this->moduleName, 'sendmail');
$mailContent = $this->parse($this->moduleName, 'sendmail');
/* 发信。*/
$this->loadModel('mail')->send($toList, 'BUG #' . $bug->id . $this->lang->colon . $bug->title, $mailContent, $ccList);