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

--- Comment #26 from Jonathan Druart <[email protected]> 
---
(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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to