25 Feb
2020
25 Feb
'20
1:58 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24661 --- Comment #16 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- (In reply to Julian Maurice from comment #15)
(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
Looks good to me, nice and terse. -- You are receiving this mail because: You are watching all bug changes.