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(
|
@$mailtp=new EmailText(
|
||||||
$this->db,
|
$this->db,
|
||||||
'data-comments-posted',
|
'data-comment-note',
|
||||||
array(
|
array(
|
||||||
'user' =>$data['author'],
|
'user' =>$user->username,
|
||||||
'uuid' =>$data['uuid'],
|
'uuid' =>$data['uuid'],
|
||||||
'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))),
|
'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@$mail=new WestdcMailer($this->view->config->smtp);
|
@$mail=new WestdcMailer($this->view->config->smtp);
|
||||||
@$mail->setBodyText($mailtp->getBody());
|
@$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->addTo($this->view->config->service->email);
|
||||||
@$mail->setSubject($mailtp->getSubject());
|
@$mail->setSubject($mailtp->getSubject());
|
||||||
@$mail->send();
|
@$mail->send();
|
||||||
|
|
Loading…
Reference in New Issue