[Koha-bugs] [Bug 24661] Inclusion of locale-related javascript files is broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 25 12:56:43 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24661
--- Comment #15 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Jonathan Druart from comment #14)
> Or even
>
> [% IF lang.defined AND lang != 'en' %]
I never used the .defined VMethod of Template::Toolkit, but it should be ok.
I'm not sure it is even needed. I think you can simply write
[% IF lang && lang != 'en' %]
Since no language code can evaluate to false
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list