summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/field.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
index 0fe143919..56ea331fb 100644
--- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
@@ -66,6 +66,7 @@ END;
IF field_type == "";
field_type = -1;
END;
+field_name = name;
IF prefix.defined;
name = prefix _ name;
END;
@@ -178,7 +179,7 @@ END;
[% IF values.defined %]
[% FOREACH v IN values %]
[% NEXT IF NOT v.is_active AND NOT value.contains(v.name).size %]
- [% NEXT IF NOT bug.check_can_change_field(name, bug.${name}, v.name) %]
+ [% NEXT IF NOT bug.check_can_change_field(name, bug.${field_name}, v.name) %]
<option value="[% v.name FILTER html %]"
id="v[% v.id FILTER html %]_[% name FILTER html %]"
[% " selected" IF value.contains(v.name).size %]