From ffe945b496138d2f9ec233a54c3069428c976ce2 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 20 Mar 2015 09:48:58 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DSQL=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/AuthorController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php index 2c353a88..a253a142 100644 --- a/application/default/controllers/AuthorController.php +++ b/application/default/controllers/AuthorController.php @@ -1843,8 +1843,8 @@ class AuthorController extends Zend_Controller_Action $this->db->query($sql,array($changelog,$u_id,$id)); // 3. 获取数据评审状态 - $sql = "SELECT s.*,v.xml,m.title FROM en.mdstatus s left join mdversion v on s.uuid=v.uuid - left join metadata m on s.uuid=m.uuid WHERE v.id=?"; + $sql = "SELECT s.*,v.xml,m.title FROM en.mdstatus s left join en.mdversion v on s.uuid=v.uuid + left join en.metadata m on s.uuid=m.uuid WHERE v.id=?"; $sth = $this->db->prepare($sql); $sth->execute(array($id)); $row = $sth->fetch(); @@ -1905,7 +1905,7 @@ class AuthorController extends Zend_Controller_Action unset($mailtp); //email to author $mail=new WestdcMailer($this->view->config->smtp); - $mail->setFrom($this->view->config->service->email,'西部数据中心服务组'); + $mail->setFrom($this->view->config->service->email,'CARD support team'); $mailtp=new EmailText($this->db,"metadata-new-author-en",array( 'user' => $user->username, 'uuid' => $iso->uuid, @@ -4221,7 +4221,7 @@ class AuthorController extends Zend_Controller_Action $text = '

'.$body.'

'; return $text; } - } + } //导出元数据到英文版本 public function gnenexportAction()