summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/field.html.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index e8ed85010..b5184cccf 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -131,10 +131,12 @@
[% dontchange FILTER html %]
</option>
[% END %]
- [% IF NOT override_legal_values %]
- [% override_legal_values = field.legal_values %]
+ [% IF override_legal_values %]
+ [% legal_values = override_legal_values %]
+ [% ELSE %]
+ [% legal_values = field.legal_values %]
[% END %]
- [% FOREACH legal_value = override_legal_values %]
+ [% FOREACH legal_value = legal_values %]
[% SET control_value = legal_value.visibility_value %]
[% SET control_field = field.value_field %]
<option value="[% legal_value.name FILTER html %]"