From 7c5320cdad2ae73890bff2afa262b41203a9449a Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 23 Nov 2023 16:14:48 +0100 Subject: [PATCH] Backport #58 to Pimcore X --- src/SeoBundle/MetaData/Extractor/IntegratorExtractor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SeoBundle/MetaData/Extractor/IntegratorExtractor.php b/src/SeoBundle/MetaData/Extractor/IntegratorExtractor.php index 18b64b6..0843c72 100644 --- a/src/SeoBundle/MetaData/Extractor/IntegratorExtractor.php +++ b/src/SeoBundle/MetaData/Extractor/IntegratorExtractor.php @@ -55,7 +55,7 @@ public function updateMetaData(mixed $element, ?string $locale, SeoMetaDataInter $elementType = 'document'; } - if ($elementType === null) { + if ($elementType === null || !elementId) { return; }