fix #296, 修复comment post note

This commit is contained in:
wlx 2012-01-06 09:10:51 +00:00
parent b95094527b
commit e44ab66df0
1 changed files with 3 additions and 3 deletions

View File

@ -754,16 +754,16 @@ class DataController extends Zend_Controller_Action
{
@$mailtp=new EmailText(
$this->db,
'data-comments-posted',
'data-comment-note',
array(
'user' =>$data['author'],
'user' =>$user->username,
'uuid' =>$data['uuid'],
'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))),
)
);
@$mail=new WestdcMailer($this->view->config->smtp);
@$mail->setBodyText($mailtp->getBody());
@$mail->setFrom($this->view->config->service->email,'WDSCAR Service Team');
@$mail->setFrom($this->view->config->service->email,'西部数据中心服务组');
@$mail->addTo($this->view->config->service->email);
@$mail->setSubject($mailtp->getSubject());
@$mail->send();