diff options
author | jouni%heikniemi.net <> | 2004-07-06 16:08:02 +0200 |
---|---|---|
committer | jouni%heikniemi.net <> | 2004-07-06 16:08:02 +0200 |
commit | 6c0b6e11bf1e302320bebe0ce9545eff924ab124 (patch) | |
tree | ec6538b7ffb236cd3c092d5942c89343daa0f171 /Bugzilla/Search.pm | |
parent | 73fd49ff3bbff6244802ba548bb22c2be39014e1 (diff) | |
download | bugzilla-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 'Bugzilla/Search.pm')
-rw-r--r-- | Bugzilla/Search.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 2f92131fc..0ebf1e070 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -586,7 +586,8 @@ sub init { # negative conditions (f.e. "flag isn't review+"). my $flags = "flags_$chartid"; push(@supptables, "LEFT JOIN flags $flags " . - "ON bugs.bug_id = $flags.bug_id"); + "ON bugs.bug_id = $flags.bug_id " . + "AND $flags.is_active = 1"); my $flagtypes = "flagtypes_$chartid"; push(@supptables, "LEFT JOIN flagtypes $flagtypes " . "ON $flags.type_id = $flagtypes.id"); |