fix type error
This commit is contained in:
parent
2034f79a65
commit
2b369ef8c2
|
@ -247,7 +247,7 @@ class ReviewListener implements Zend_EventManager_ListenerAggregate
|
|||
$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);
|
||||
foreach($emails as $email) $mail->addTo($email);
|
||||
$mail->setSubject($mailtp->getSubject());
|
||||
$mail->send();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue