Skip to content

Commit 5e1acd1

Browse files
Fix Property 'uri' not found on class Ibexa\Connector\Dam\FieldType\ImageAsset\Value
1 parent 4ed17c2 commit 5e1acd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SEOBundle/bundle/Core/MetaNameSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ protected function handleRelationValue(RelationValue $value, string $languageCod
269269
$relatedContent = $this->repository->getContentService()->loadContent($value->destinationContentId);
270270
// @todo: we can probably be better here and handle more than just "image"
271271
$fieldImageValue = $relatedContent->getFieldValue('image');
272-
if ($fieldImageValue) {
272+
if ($fieldImageValue instanceof ImageValue) {
273273
if ($fieldImageValue->uri) {
274274
return $this->getVariation(
275275
$fieldImageValue,

0 commit comments

Comments
 (0)