From cc0c32bcb0e9f1b6c0b0157f8480d69047740f1e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 12 Apr 2016 13:22:20 +0000 Subject: Bug 1263520 - Cannot set r+ back to r? directly --- extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/BugModal/template/en') 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 @@ [% 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 == "?")) %] [% END %] [% IF user.can_set_flag(t) || (f && f.status == "+") %] -- cgit v1.2.3-24-g4f1b