[Koha-bugs] [Bug 32251] New: opac-page.pl: Add a fallback for when language cookie was removed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 17 16:26:29 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32251
Bug ID: 32251
Summary: opac-page.pl: Add a fallback for when language cookie
was removed
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: m.de.rooy at rijksmuseum.nl
QA Contact: testopia at bugs.koha-community.org
Simply put:
Replace
- my $lang = $query->param('language') ||
$query->cookie('KohaOpacLanguage');
+ my $lang = $query->param('language') || $query->cookie('KohaOpacLanguage')
|| $template->lang;
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list