修复无法保存数据评审状态的错误

This commit is contained in:
wlx 2012-05-21 09:47:22 +00:00
parent 22c1a93e37
commit 08e214b9d0
1 changed files with 1 additions and 1 deletions

View File

@ -2191,7 +2191,7 @@ class AuthorController extends Zend_Controller_Action
$iso=new ISO19115(); $iso=new ISO19115();
@$iso->saveDB($this->db,$row['data']); @$iso->saveDB($this->db,$row['data']);
//进入评审库 //进入评审库
$sql="insert into mdstatus (uuid,status,userid) select uuid,0,? from mdversion where id=?"; $sql="insert into mdstatus (uuid,status,userid) select uuid,0,? from geonetworkmetadata where id=?";
$this->db->query($sql,array($u_id,$id)); $this->db->query($sql,array($u_id,$id));
//email to admin //email to admin