fix type error
This commit is contained in:
parent
2034f79a65
commit
2b369ef8c2
|
@ -246,8 +246,8 @@ class ReviewListener implements Zend_EventManager_ListenerAggregate
|
|||
$res=$rs->fetch();
|
||||
$mailtp=new EmailText($this->db,'metadata-publish',array('uuid'=>$res['uuid'],'title'=>$res['title']));
|
||||
$mail->setBodyText($mailtp->getBody());
|
||||
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组');
|
||||
$mail->addTo($emails);
|
||||
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组');
|
||||
foreach($emails as $email) $mail->addTo($email);
|
||||
$mail->setSubject($mailtp->getSubject());
|
||||
$mail->send();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue