Skip to content

Commit

Permalink
Issue GetDKAN#3959: dkan:harvest:status - undefined array key
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-korn committed May 8, 2023
1 parent 66cd8e3 commit cdb9556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/harvest/src/Commands/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function renderStatusTable($harvest_id, $run_id, $run) {
$table->setHeaders(["item_id", "extract", "transform", "load"]);

foreach ($run['status']['extracted_items_ids'] as $item_id) {
$row = $this->generateItemStatusRow($item_id, $run['status'], $run['errors']);
$row = $this->generateItemStatusRow($item_id, $run['status'], $run['errors'] ?? []);
$table->addRow($row);
}

Expand Down

0 comments on commit cdb9556

Please sign in to comment.