Skip to content

Commit

Permalink
fix: avoid undefined array key in FilesCategoryProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdmlln committed Aug 28, 2024
1 parent b2690b3 commit edca853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/DataProcessing/FilesCategoryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function process(
$this->legacyReturn ? ['properties', $categoriesAs] : $categoriesAs,
array_map(function (int $categoryUid) {
return $this->categories[$categoryUid];
}, $fileCategoryMap[$uid])
}, $fileCategoryMap[$uid] ?? [])
);
}
}
Expand Down

0 comments on commit edca853

Please sign in to comment.