summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2004-07-06 14:08:02 +0000
committerjouni%heikniemi.net <>2004-07-06 14:08:02 +0000
commit6c0b6e11bf1e302320bebe0ce9545eff924ab124 (patch)
treeec6538b7ffb236cd3c092d5942c89343daa0f171 /request.cgi
parentBug 243463 Use a param to protect new charts from leaking information (diff)
downloadbugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.tar.gz
bugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.tar.bz2
bugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.zip
Bug 223878: Flag system dies when changing a deleted flag.
r=joel, justdave a=justdave
Diffstat (limited to 'request.cgi')
-rwxr-xr-xrequest.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/request.cgi b/request.cgi
index e330c2c83..047c4fa14 100755
--- a/request.cgi
+++ b/request.cgi
@@ -116,6 +116,9 @@ sub queue {
AND flags.bug_id = bugs.bug_id
";
+ # Non-deleted flags only
+ $query .= " AND flags.is_active = 1 ";
+
# Limit query to pending requests.
$query .= " AND flags.status = '?' " unless $cgi->param('status');