aboutsummaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-04-14 23:50:39 +0000
committerlpsolit%gmail.com <>2006-04-14 23:50:39 +0000
commit344149d0e639267412ca0e2ccd95c2872e9350d9 (patch)
tree27b64e7e1c6e35367803bce5a35f7addfc1337c6 /editusers.cgi
parentbd0e09be136d808154320d61bf2725e2324c2243 (diff)
downloadbugs-344149d0e639267412ca0e2ccd95c2872e9350d9.tar
bugs-344149d0e639267412ca0e2ccd95c2872e9350d9.tar.gz
bugs-344149d0e639267412ca0e2ccd95c2872e9350d9.tar.bz2
bugs-344149d0e639267412ca0e2ccd95c2872e9350d9.tar.xz
bugs-344149d0e639267412ca0e2ccd95c2872e9350d9.zip
Bug 322285: Cancelling a flag should remove it completely from the DB - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 639e5ee1c..c5e67e28b 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -453,7 +453,7 @@ if ($action eq 'search') {
'SELECT COUNT(*) FROM email_setting WHERE user_id = ?',
undef, $otherUserID);
$vars->{'flags'}{'requestee'} = $dbh->selectrow_array(
- 'SELECT COUNT(*) FROM flags WHERE requestee_id = ? AND is_active = 1',
+ 'SELECT COUNT(*) FROM flags WHERE requestee_id = ?',
undef, $otherUserID);
$vars->{'flags'}{'setter'} = $dbh->selectrow_array(
'SELECT COUNT(*) FROM flags WHERE setter_id = ?',