From 493cb8c6510410bec834c4832aa0c0d760b7fca2 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 22 May 2009 07:41:22 -0500 Subject: [PATCH] followup to previous patch - don't use TMPL_IF EXPR Because of the way that HTML::Template::Pro evaluates expressions, any variable referred to in a TMPL_IF EXPR must be be present when the template is parsed, otherwise you get Apache error log warnings like this: non-initialized variable new_subfield For a simple flag check, TMPL_IF NAME="new_subfield" is sufficient. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- .../prog/en/modules/admin/marc_subfields_structure.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl index 24ee745611..55b3a4b377 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl @@ -89,7 +89,7 @@
field"> -
Add new subfieldBasic constraints +
Add new subfieldBasic constraints
  1. Subfield code: " />
  2. -- 2.20.1