修复SQL提取错误
This commit is contained in:
parent
eaa2692fca
commit
ffe945b496
|
@ -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 = '<h4>'.$body.'</h4>';
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//导出元数据到英文版本
|
||||
public function gnenexportAction()
|
||||
|
|
Loading…
Reference in New Issue