minor fix

This commit is contained in:
wlx 2015-12-29 08:49:36 +08:00
parent fe55bb7149
commit 352980fc86
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ class ReviewListener implements Zend_EventManager_ListenerAggregate
$res=$rs->fetch(); $res=$rs->fetch();
$mailtp=new EmailText($this->db,'metadata-publish',array('uuid'=>$res['uuid'],'title'=>$res['title'])); $mailtp=new EmailText($this->db,'metadata-publish',array('uuid'=>$res['uuid'],'title'=>$res['title']));
$mail->setBodyText($mailtp->getBody()); $mail->setBodyText($mailtp->getBody());
$mail->setFrom($config->service->email,'西部数据中心服务组'); $mail->setFrom($config->service->email,'数据服务组');
foreach($emails as $email) $mail->addTo($email); foreach($emails as $email) $mail->addTo($email);
$mail->setSubject($mailtp->getSubject()); $mail->setSubject($mailtp->getSubject());
$mail->send(); $mail->send();