移除uuid前后的空格信息

This commit is contained in:
wlx 2012-04-12 04:01:39 +00:00
parent bea2219d75
commit 3baca14dbc
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Admin_DataController extends Zend_Controller_Action
$thumb=$this->_request->getParam('thumb'); $thumb=$this->_request->getParam('thumb');
$list=$this->_request->getParam('list'); $list=$this->_request->getParam('list');
$adminuser=$this->_request->getParam('adminuser'); $adminuser=$this->_request->getParam('adminuser');
$uuid=$this->_request->getParam('uuid'); $uuid=trim($this->_request->getParam('uuid'));
if ($this->_request->isPost()) $uuid=$this->_request->getPost('uuid'); if ($this->_request->isPost()) $uuid=$this->_request->getPost('uuid');
//$uuid=$this->_request->getParam('uuid'); //$uuid=$this->_request->getParam('uuid');
if ($source=="geonetwork" && empty($uuid) ) { if ($source=="geonetwork" && empty($uuid) ) {