[Koha-bugs] [Bug 20116] Cache language list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 10:55:39 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20116

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #25 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+    my @enabled_languages =
+      ( $interface && $interface eq 'intranet' )
+      ? split ",", C4::Context->preference('language')
+      : split ",", C4::Context->preference('opaclanguage');

Seems to reverse the previous logic. If eq opac then opac else intranet.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list