diff options
Diffstat (limited to 'Bugzilla/Chart.pm')
-rw-r--r-- | Bugzilla/Chart.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm index a119e4b7c..1f232f310 100644 --- a/Bugzilla/Chart.pm +++ b/Bugzilla/Chart.pm @@ -382,8 +382,7 @@ sub getSeriesIDs { sub getVisibleSeries { my %cats; - # List of groups the user is in; use -1 to make sure it's not empty. - my $grouplist = join(", ", (-1, values(%{Bugzilla->user->groups}))); + my $grouplist = Bugzilla->user->groups_as_string; # Get all visible series my $dbh = Bugzilla->dbh; |