From 9aec6344ba415acfb9df300c0d0abcf501bb9841 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 21 Jul 2006 06:29:02 +0000 Subject: Bug 345381: Cannot add any new field in editvalues.cgi - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/field-descs.none.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/en') diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl index b5b8530b5..f7600dc0d 100644 --- a/template/en/default/global/field-descs.none.tmpl +++ b/template/en/default/global/field-descs.none.tmpl @@ -75,9 +75,9 @@ or your installation, just use a hook. %] [% USE Bugzilla %] -[% FOREACH field = Bugzilla.get_fields() %] - [% SET field_descs.${field.name} = field.description - IF !field_descs.${field.name}.defined %] +[% FOREACH bz_field = Bugzilla.get_fields() %] + [% SET field_descs.${bz_field.name} = bz_field.description + IF !field_descs.${bz_field.name}.defined %] [% END %] [% status_descs = { "UNCONFIRMED" => "UNCONFIRMED", -- cgit v1.2.3-24-g4f1b