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
This commit is contained in:
Родитель
31de09ee72
Коммит
c132717f99
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче