summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl2
-rw-r--r--template/en/default/flag/list.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
index d4c2d50b3..53b5c08ca 100644
--- a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
@@ -137,7 +137,7 @@
<option value="X"></option>
[% END %]
[% IF t.is_active %]
- [% IF (!f && t.is_requestable && user.can_request_flag(t)) || (f && user.can_unset_flag(t, f.status) && f.status == "?") %]
+ [% IF (!f && t.is_requestable && user.can_request_flag(t)) || (f && (user.can_unset_flag(t, f.status) || f.status == "?")) %]
<option value="?" [% "selected" IF f && f.status == "?" %]>?</option>
[% END %]
[% IF user.can_set_flag(t) || (f && f.status == "+") %]
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 7993a2a89..55184c47b 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -140,7 +140,7 @@
[% END %]
[% IF type.is_active && can_edit_flag %]
[% IF (!flag && type.is_requestable && user.can_request_flag(type))
- || (flag && user.can_unset_flag(type, flag.status) && flag.status == "?") %]
+ || (flag && (user.can_unset_flag(type, flag.status) || flag.status == "?")) %]
<option value="?" [% "selected" IF flag && flag.status == "?" %]>?</option>
[% END %]
[% IF user.can_set_flag(type) || (flag && flag.status == "+") %]