Commit 12ea40ad authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #72655 fix failures

parent d2adf40c
Pipeline #3700 passed with stage
in 32 minutes and 34 seconds
...@@ -178,7 +178,7 @@ class AbonneController extends ZendAfi_Controller_Action { ...@@ -178,7 +178,7 @@ class AbonneController extends ZendAfi_Controller_Action {
->setPseudo($this->_request->getParam('avisSignature')) ->setPseudo($this->_request->getParam('avisSignature'))
->save(); ->save();
$this->_helper->notify($this->_('Votre avis à bien été enregistré')); $this->_helper->notify($this->_('Votre avis à bien été enregistré'));
return $this->_redirectToReferer(); return $this->_redirectClose($this->_getReferer());
} }
$this->view->message = implode('.', $avis->getErrors()); $this->view->message = implode('.', $avis->getErrors());
......
...@@ -231,9 +231,7 @@ class ZendAfi_Controller_Action extends Zend_Controller_Action { ...@@ -231,9 +231,7 @@ class ZendAfi_Controller_Action extends Zend_Controller_Action {
public function _redirectToReferer() { public function _redirectToReferer() {
return $this->isPopupRequest() return $this->_redirect($this->_getReferer());
? $this->_javascriptRedirectToReferrer()
: parent::_redirect($this->_getReferer());
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment