diff --git a/mozilla/webtools/bugzilla/Bugzilla/Chart.pm b/mozilla/webtools/bugzilla/Bugzilla/Chart.pm index 729120e8e9c..9701f7b32de 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Chart.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Chart.pm @@ -218,6 +218,8 @@ sub readData { # We need to handle errors better. my $series_ids = join(",", $self->getSeriesIDs()); + return [] unless $series_ids; + # Work out the date boundaries for our data. my $dbh = Bugzilla->dbh;