Skip to content

Commit

Permalink
IBX-8357: Fixed item export
Browse files Browse the repository at this point in the history
  • Loading branch information
reithor committed Jun 4, 2024
1 parent a74064f commit 720b126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Service/ContentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ private function getAuthor(APIContent $contentValue, APIContentType $contentType
*
* @return array<string>
*/
private function prepareFields(APIContentType $contentType, array $fields): array
private function prepareFields(APIContentType $contentType, ?array $fields = null): array
{
if (empty($fields)) {
if (!empty($fields)) {
return $fields;
}

Expand Down

0 comments on commit 720b126

Please sign in to comment.