[Koha-devel] Use of TMPL_IF EXPR
Owen Leonard
oleonard at myacpl.org
Wed Dec 30 21:27:40 CET 2009
> Is it a performance worry or a security worry?
What I know is that the EXPR syntax sometimes leads to lines like this
in the error log:
"EXPR:at pos 25: non-initialized variable loggedinusername"
This happens when one of the variables being checked by the EXPR
doesn't exist. So in this case the template is saying:
<!-- TMPL_IF EXPR="OpacNav||loggedinusername" -->
...and in this case no one is logged in.
I don't know what the ramifications are beyond junk in the error log.
-- Owen
--
Web Developer
Athens County Public Libraries
http://www.myacpl.org
More information about the Koha-devel
mailing list