diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index 2922ea4a..f1916a27 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -1224,9 +1224,8 @@ class ServiceController extends Zend_Controller_Action $sql='select username,md5(password) as pwd from users where id='.$user->id; $row=$this->db->fetchRow($sql); $login=$this->config->geonetwork->url.'/srv/en/xml.user.login?username='.$row->username.'&password='.$row->pwd; - $url = $this->_request->getParam('url'); - if empty($url) - $url='/geonetwork/srv/cn/'; + $url = $this->config->geonetwork->url.'/srv/cn/'.$this->_request->getParam('url'); + $body='