summaryrefslogtreecommitdiffstats
path: root/request.cgi
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2004-07-06 16:08:02 +0200
committerjouni%heikniemi.net <>2004-07-06 16:08:02 +0200
commit6c0b6e11bf1e302320bebe0ce9545eff924ab124 (patch)
treeec6538b7ffb236cd3c092d5942c89343daa0f171 /request.cgi
parent73fd49ff3bbff6244802ba548bb22c2be39014e1 (diff)
downloadbugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.tar.gz
bugzilla-6c0b6e11bf1e302320bebe0ce9545eff924ab124.tar.xz
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');