@@ -, +, @@ stages, return empty items & log entries in report. --- Koha/StockRotationRota.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/StockRotationRota.pm +++ a/Koha/StockRotationRota.pm @@ -152,8 +152,8 @@ sub investigate { push @{$report->{rotas}}, { name => $self->title, id => $self->rota_id, - items => $report->{tmp_items}, - log => $report->{tmp_log}, + items => $report->{tmp_items} || [], + log => $report->{tmp_log} || [], }; delete $report->{tmp_items}; delete $report->{tmp_log}; --