Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
afi
opacce
Commits
12ea40ad
Commit
12ea40ad
authored
Mar 20, 2018
by
Ghislain Loas
Browse files
hotline #72655 fix failures
parent
d2adf40c
Pipeline
#3700
passed with stage
in 32 minutes and 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
application/modules/opac/controllers/AbonneController.php
application/modules/opac/controllers/AbonneController.php
+1
-1
library/ZendAfi/Controller/Action.php
library/ZendAfi/Controller/Action.php
+1
-3
No files found.
application/modules/opac/controllers/AbonneController.php
View file @
12ea40ad
...
...
@@ -178,7 +178,7 @@ class AbonneController extends ZendAfi_Controller_Action {
->
setPseudo
(
$this
->
_request
->
getParam
(
'avisSignature'
))
->
save
();
$this
->
_helper
->
notify
(
$this
->
_
(
'Votre avis à bien été enregistré'
));
return
$this
->
_redirect
To
Referer
();
return
$this
->
_redirect
Close
(
$this
->
_get
Referer
()
)
;
}
$this
->
view
->
message
=
implode
(
'.'
,
$avis
->
getErrors
());
...
...
library/ZendAfi/Controller/Action.php
View file @
12ea40ad
...
...
@@ -231,9 +231,7 @@ class ZendAfi_Controller_Action extends Zend_Controller_Action {
public
function
_redirectToReferer
()
{
return
$this
->
isPopupRequest
()
?
$this
->
_javascriptRedirectToReferrer
()
:
parent
::
_redirect
(
$this
->
_getReferer
());
return
$this
->
_redirect
(
$this
->
_getReferer
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment