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

--- Comment #15 from Julian Maurice <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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