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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 3 11:44:20 CEST 2019


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

--- Comment #27 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #26)
> (In reply to Marcel de Rooy from comment #25)
> > +    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.
> 
> I do not think I get that one, please read again the whole diff:
> 
> before:
> if $interface == opac:
>   use opaclanguages
> elsif $interface == intranet:
>   use language
> else:
>   use opaclanguages
> 
> after:
> if $interface == intranet:
>   use language
> else:
>   use opaclanguages
> 
> Looks equal for me.

Seems so. OK

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


More information about the Koha-bugs mailing list