From 0d1f51a6b2d30ba39174dd24602ffe4db61367b7 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 13 Dec 2011 06:19:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=82=AE=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=94=A8=E6=88=B7=E5=90=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/DownController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controllers/DownController.php b/application/admin/controllers/DownController.php index 15c57af0..ce2ce4bd 100644 --- a/application/admin/controllers/DownController.php +++ b/application/admin/controllers/DownController.php @@ -55,6 +55,7 @@ class Admin_DownController extends Zend_Controller_Action unset($mail); $mail = new WestdcMailer($this->view->config->smtp); + $mailtp=new EmailText($this->db,'offline-start-admin',array('user'=>$row['username'],'datalist'=>$datalist)); $mail->setFrom($this->view->config->service->email,'西部数据中心服务组'); $sql="select distinct(res.email) from dataorder d left join role on d.uuid=role.uuid left join responsible res on role.resid=res.id where length(res.email)>4 and d.offlineappid=? and role.role in ('pointOfContact','resourceProvider')"; $rows=$this->db->fetchAll($this->db->quoteInto($sql,$start)); @@ -67,7 +68,6 @@ class Admin_DownController extends Zend_Controller_Action $addrs[] = 'nztong@lzb.ac.cn'; $addrs[] = 'wjian@lzb.ac.cn'; $addrs[] = 'lixin@lzb.ac.cn'; - $mailtp=new EmailText($this->db,'offline-start-admin',array('user'=>$row['username'],'datalist'=>$datalist)); $mail->setBodyText($mailtp->getBody()); $mail->setSubject($mailtp->getSubject()); $mail->addTo($addrs);