修复括号问题

This commit is contained in:
wlx 2012-06-12 04:20:41 +00:00
parent e001c1e370
commit 04076c41bd
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class Admin_DataController extends Zend_Controller_Action
}
}
$this->view->msg='已成功同步帐号!';
} elseif (!empty($uuid) && (isset($_POST['submit']) || (!isset($_POST['gnsubmit'] && !isset($_POST['watersubmit']))))) {
} elseif (!empty($uuid) && (isset($_POST['submit']) || (!isset($_POST['gnsubmit']) && !isset($_POST['watersubmit'])))) {
//同步单条元数据
$sql=$this->db->quoteInto("select data,source from geonetworkmetadata where uuid=?",$uuid);
if ($rs=$this->db->fetchRow($sql)) {