From addacdeb932a28ff6bdfd074552e5ce1a1235f68 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 4 Aug 2006 21:09:26 +0000 Subject: Bug 347360: Incorrect field name in FlagType.pm - Patch by Frédéric Buclin a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/FlagType.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index 048596a51..d37e3f27a 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -235,8 +235,8 @@ sub request_group { sub flag_count { my $self = shift; - if (!defined $self->{'bug_count'}) { - $self->{'bug_count'} = + if (!defined $self->{'flag_count'}) { + $self->{'flag_count'} = Bugzilla->dbh->selectrow_array('SELECT COUNT(*) FROM flags WHERE type_id = ?', undef, $self->{'id'}); } -- cgit v1.2.3-24-g4f1b