Commit 1a0c2b4f authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 289627: Chart report crashes when there is no series data to plot - Patch by…

Bug 289627: Chart report crashes when there is no series data to plot - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
parent b705df32
......@@ -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;
......
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