https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24661
--- Comment #16 from Martin Renvoize <[email protected]> --- (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. _______________________________________________ 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/
