From 7e7fe651e2c1c1b0b3af825ebdae3c580149fd0a Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 15 Jan 2010 05:38:26 +0000 Subject: [PATCH] * fix the bug of sendmail. --- trunk/module/bug/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/module/bug/control.php b/trunk/module/bug/control.php index fe43dff35a..0ac87cbf85 100644 --- a/trunk/module/bug/control.php +++ b/trunk/module/bug/control.php @@ -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);