Skip to content

Commit

Permalink
Fix when elementId is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Dec 14, 2023
2 parents 6a18b27 + a3f95ff commit 8e62a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetaData/Extractor/IntegratorExtractor.php
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 8e62a00

Please sign in to comment.