summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-04-10 15:29:17 +0200
committerByron Jones <glob@mozilla.com>2014-04-10 15:29:17 +0200
commitffad8c2a00a341fdea08187a836c4d4365b2556f (patch)
treea8e85cb26ad7689c07d5bc06865f819931c7fd12
parent1f8f67982a10da927b32910a475266b9c4e0e8dd (diff)
downloadbugzilla-ffad8c2a00a341fdea08187a836c4d4365b2556f.tar.gz
bugzilla-ffad8c2a00a341fdea08187a836c4d4365b2556f.tar.xz
Bug 994570: unable to create an attachment with review+ : "You must provide a reviewer for review requests"
-rw-r--r--extensions/Review/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm
index c22f0a652..3f3383697 100644
--- a/extensions/Review/Extension.pm
+++ b/extensions/Review/Extension.pm
@@ -380,7 +380,7 @@ sub _check_review_flag {
# extract the set flag-types
my @flagtype_ids = map { /^flag_type-(\d+)$/ ? $1 : () } $cgi->param();
- @flagtype_ids = grep { $cgi->param("flag_type-$_") ne 'X' } @flagtype_ids;
+ @flagtype_ids = grep { $cgi->param("flag_type-$_") eq '?' } @flagtype_ids;
return unless scalar(@flagtype_ids);
# find valid review flagtypes