Skip to content

Commit

Permalink
Issue #3959: dkan:harvest:status - undefined array key (#3960)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-korn committed May 17, 2023
1 parent 858925a commit 3dca64c
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 3dca64c

Please sign in to comment.