https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20116
--- Comment #27 from Marcel de Rooy <m.de.r...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/