diff options
Diffstat (limited to 'template/en/default/bug/create/create.html.tmpl')
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 8bc4ab465..c8fd0fc10 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -421,10 +421,9 @@ function handleWantsAttachment(wants_attachment) { <tbody> [% USE Bugzilla %] - [% custom_fields = Bugzilla.get_fields({ obsolete => 0, custom => 1, - enter_bug => 1 }) %] - [% FOREACH field = custom_fields %] + [% FOREACH field = Bugzilla.active_custom_fields %] + [% NEXT UNLESS field.enter_bug %] [% SET value = ${field.name} IF ${field.name}.defined %] <tr> [% PROCESS bug/field.html.tmpl editable=1 value_span=3 %] |