summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'});
}