diff options
| author | lpsolit%gmail.com <> | 2007-02-20 06:20:09 +0000 |
|---|---|---|
| committer | lpsolit%gmail.com <> | 2007-02-20 06:20:09 +0000 |
| commit | 1a0c2b4fa851c4f70d565d2d4797167a17839f43 (patch) | |
| tree | cc4d4a563caf0d8955c3ce40ed83effc40714d3c /Bugzilla | |
| parent | b705df322c8d1f703c1d97c96eac1a8dc9053d11 (diff) | |
| download | bugs-1a0c2b4fa851c4f70d565d2d4797167a17839f43.tar bugs-1a0c2b4fa851c4f70d565d2d4797167a17839f43.tar.gz bugs-1a0c2b4fa851c4f70d565d2d4797167a17839f43.tar.bz2 bugs-1a0c2b4fa851c4f70d565d2d4797167a17839f43.tar.xz bugs-1a0c2b4fa851c4f70d565d2d4797167a17839f43.zip | |
Bug 289627: Chart report crashes when there is no series data to plot - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'Bugzilla')
| -rw-r--r-- | Bugzilla/Chart.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm index 729120e8e..9701f7b32 100644 --- a/Bugzilla/Chart.pm +++ b/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; |
