From f79e1d2b9a0b8b21cb2b4a3cdfc6b0dfdcaf7644 Mon Sep 17 00:00:00 2001 From: "Joe Atzberger (siptest" Date: Fri, 20 Jun 2008 16:21:14 -0500 Subject: [PATCH] Remove EXPRs from includes file. This prevents the following log entries: error EXPR:at pos 42: non-initialized variable OPACViewOthersSuggestions EXPR must NOT be used unless the author can guarantee ALL names referenced will be defined at the BEGINNING of TMPL execution. That suggests that in .inc files, only variables populated by get_template... are valid, since the author cannot guarantee what other templates might include the file. Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index d9d5f64378..0fe8239bcd 100755 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -69,15 +69,14 @@ Lists - - + -Cart -Lists + + -- 2.39.5