Commit addacdeb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 347360: Incorrect field name in FlagType.pm - Patch by Frédéric Buclin…

Bug 347360: Incorrect field name in FlagType.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> a=myk
parent a12f15c9
...@@ -235,8 +235,8 @@ sub request_group { ...@@ -235,8 +235,8 @@ sub request_group {
sub flag_count { sub flag_count {
my $self = shift; my $self = shift;
if (!defined $self->{'bug_count'}) { if (!defined $self->{'flag_count'}) {
$self->{'bug_count'} = $self->{'flag_count'} =
Bugzilla->dbh->selectrow_array('SELECT COUNT(*) FROM flags Bugzilla->dbh->selectrow_array('SELECT COUNT(*) FROM flags
WHERE type_id = ?', undef, $self->{'id'}); WHERE type_id = ?', undef, $self->{'id'});
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment