aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/custom_fields/create.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/custom_fields/create.html.tmpl')
-rw-r--r--template/en/default/admin/custom_fields/create.html.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl
index da10c7bcb..17bd5bfdc 100644
--- a/template/en/default/admin/custom_fields/create.html.tmpl
+++ b/template/en/default/admin/custom_fields/create.html.tmpl
@@ -99,8 +99,7 @@
<select name="visibility_field_id" id="visibility_field_id"
onchange="onChangeVisibilityField()">
<option></option>
- [% FOREACH sel_field = Bugzilla.active_custom_fields %]
- [% NEXT IF !sel_field.is_select %]
+ [% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %]
<option value="[% sel_field.id FILTER html %]">
[% sel_field.description FILTER html %]
([% sel_field.name FILTER html %])