diff --git a/Classes/Indexer/Types/Page.php b/Classes/Indexer/Types/Page.php index 5a61b653..e0280ebf 100644 --- a/Classes/Indexer/Types/Page.php +++ b/Classes/Indexer/Types/Page.php @@ -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; }