diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index cba973863..e7ab3d4a7 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -3973,8 +3973,10 @@ sub groups { $sth->execute($self->{'bug_id'}, $self->{'product_id'}); - while (my ($groupid, $name, $description, $ison, $ingroup, $isactive, - $membercontrol, $othercontrol) = $sth->fetchrow_array()) { + my $rows = $sth->fetchall_arrayref(); + foreach my $row (@$rows) { + my ($groupid, $name, $description, $ison, $ingroup, $isactive, + $membercontrol, $othercontrol) = @$row; $membercontrol ||= 0; |