Skip to content

Commit

Permalink
Update Page.php
Browse files Browse the repository at this point in the history
  • Loading branch information
medarob authored Feb 22, 2024
1 parent c7a428b commit 2ca18ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Indexer/Types/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ public function storeFileContentToIndex($fileObject, $content, $fileIndexerObjec
}

$abstract = '';
if ($metadata['description']) {
if ($metadata['description'] ?? null) {
$abstract = $metadata['description'];
$content = $metadata['description'] . "\n" . $content;
}
Expand Down

0 comments on commit 2ca18ef

Please sign in to comment.