diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 09b4edd3..7869c20f 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -2620,10 +2620,10 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid return true; } - // 1. 权限认定 --skip + // 1. 权限认定 --skip // 2. 保存变化记录 save changelog & userid $sql = "UPDATE mdversion SET changelog=?,userid=g.owner from geonetworkmetadata g WHERE g.uuid=mdversion.uuid and mdversion.id=?"; - $this->db->query($sql,array($changelog,$id)); + $this->db->query($sql,array($changelog, $id)); // 3. 获取数据评审状态 $sql = "SELECT s.*,v.xml,m.title FROM mdstatus s left join mdversion v on s.uuid=v.uuid @@ -2908,7 +2908,7 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid } //@$mail->send(); - $data = array("commited"=>1,"error"=>'该版本已经成功发布!'); + $data = array("commited"=>1, "error"=>'该版本已经成功发布!'); $this->jsonexit($data); return true; } diff --git a/application/models/Search.php b/application/models/Search.php index f66b64e1..bb72881a 100644 --- a/application/models/Search.php +++ b/application/models/Search.php @@ -1,4 +1,6 @@