summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-08-01 15:59:28 +0200
committerlpsolit%gmail.com <>2009-08-01 15:59:28 +0200
commiteed377eb471b06932e99c0fdfd226b8eb7af9780 (patch)
tree2c0402c7533d15b04008eb42d1dc803b1da30f6a /template/en/default
parent2039a990c46a153a30a15b6e76e19062c5565e02 (diff)
downloadbugzilla-eed377eb471b06932e99c0fdfd226b8eb7af9780.tar.gz
bugzilla-eed377eb471b06932e99c0fdfd226b8eb7af9780.tar.xz
The previous fix for bug 507389 was bogus, this one is fine, r=mkanat
Diffstat (limited to 'template/en/default')
-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 %]"