fix #296, 修复comment post note
This commit is contained in:
parent
b95094527b
commit
e44ab66df0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue