Bug 19373: CAS logout - Redirect to the previous page (Intranet)
Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
e7a805691f
commit
a93fef4c71
|
|
@ -202,9 +202,11 @@ sub _url_with_get_params {
|
|||
my $query = shift;
|
||||
my $type = shift;
|
||||
|
||||
my $uri_base_part = ($type eq 'opac') ?
|
||||
C4::Context->preference('OPACBaseURL') . get_script_name() :
|
||||
C4::Context->preference('staffClientBaseURL');
|
||||
my $uri_base_part =
|
||||
( $type eq 'opac' )
|
||||
? C4::Context->preference('OPACBaseURL')
|
||||
: C4::Context->preference('staffClientBaseURL');
|
||||
$uri_base_part .= get_script_name();
|
||||
|
||||
my $uri_params_part = '';
|
||||
foreach my $param ( $query->url_param() ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue