Skip to content

Commit

Permalink
Backport dachcom-digital#58 to Pimcore X
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasBr authored Nov 23, 2023
1 parent b46d616 commit 7c5320c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SeoBundle/MetaData/Extractor/IntegratorExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function updateMetaData(mixed $element, ?string $locale, SeoMetaDataInter
$elementType = 'document';
}

if ($elementType === null) {
if ($elementType === null || !elementId) {
return;
}

Expand Down

0 comments on commit 7c5320c

Please sign in to comment.