From 344149d0e639267412ca0e2ccd95c2872e9350d9 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 14 Apr 2006 23:50:39 +0000 Subject: Bug 322285: Cancelling a flag should remove it completely from the DB - Patch by Frédéric Buclin r/a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editusers.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editusers.cgi') 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 = ?', -- cgit v1.2.3-24-g4f1b