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();
|
$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($this->view->config->service->email,'西部数据中心服务组');
|
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组');
|
||||||
$mail->addTo($emails);
|
foreach($emails as $email) $mail->addTo($email);
|
||||||
$mail->setSubject($mailtp->getSubject());
|
$mail->setSubject($mailtp->getSubject());
|
||||||
$mail->send();
|
$mail->send();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue