fix mdstatus insert error
This commit is contained in:
parent
dcad18d060
commit
6def62819b
|
@ -225,8 +225,8 @@ class SubmitController extends Zend_Controller_Action
|
|||
$iso=new ISO19115();
|
||||
$iso->saveDB($this->db,$row['xml']);
|
||||
//进入评审库
|
||||
$sql="insert into mdstatus (uuid,status,userid) select uuid,0,? from mdversion where id=?";
|
||||
$this->db->query($sql,array($u_id,$id));
|
||||
$sql="insert into mdstatus (uuid,status,userid) values(?,?,?)";
|
||||
$this->db->query($sql,array($uuid,0,$id));
|
||||
|
||||
//email to admin
|
||||
$mail=new WestdcMailer($this->view->config->smtp);
|
||||
|
|
Loading…
Reference in New Issue