summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-04 23:09:26 +0200
committerlpsolit%gmail.com <>2006-08-04 23:09:26 +0200
commitaddacdeb932a28ff6bdfd074552e5ce1a1235f68 (patch)
treeb31130b20ae354a76c97064af2f721703d13db3e
parenta12f15c96502752b149300d8a325364afa5d6ecc (diff)
downloadbugzilla-addacdeb932a28ff6bdfd074552e5ce1a1235f68.tar.gz
bugzilla-addacdeb932a28ff6bdfd074552e5ce1a1235f68.tar.xz
Bug 347360: Incorrect field name in FlagType.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> a=myk
-rw-r--r--Bugzilla/FlagType.pm4
1 files changed, 2 insertions, 2 deletions
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'});
}