summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/field-descs.none.tmpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index 6160784ee..2c70b11c6 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -91,14 +91,10 @@
Description here, by copying their Description from the
database. If you want to override this for your language
or your installation, just use a hook. %]
-[%# Also create the bug_fields hash. %]
[% UNLESS Param('shutdownhtml') %]
- [% USE Bugzilla %]
- [% SET bug_fields = {} %]
- [% FOREACH bz_field = Bugzilla.get_fields() %]
+ [% FOREACH bz_field = bug_fields.values %]
[% SET field_descs.${bz_field.name} = bz_field.description
IF !field_descs.${bz_field.name}.defined %]
- [% SET bug_fields.${bz_field.name} = bz_field %]
[% END %]
[% END %]