Bug 7514 Choose OPAC language with URL parameter
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Tested: - with and without cookie set - different language codes http://.../cgi-bin/koha/opac-changelanguage.pl?language=de-DE will directly open the German OPAC. http://.../cgi-bin/koha/opac-changelanguage.pl?language=en will directly open the English OPAC. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
7f5ba31b0b
commit
8ec812d97d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ use CGI;
|
|||
|
||||
my $query = new CGI;
|
||||
my $language = $query->param('language');
|
||||
my $url = $query->referer();
|
||||
my $url = $query->referer() || '/';
|
||||
|
||||
# warn "Language : $query // $language // $url";
|
||||
C4::Templates::setlanguagecookie( $query, $language, $url );
|
||||
|
|
Loading…
Reference in a new issue