Skip to content

Commit 3b51bdf

Browse files
Fix Property 'uri' not found on class Ibexa\Connector\Dam\FieldType\ImageAsset\Value
1 parent e52c053 commit 3b51bdf

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
@@ -266,7 +266,7 @@ protected function handleRelationValue(RelationValue $value, string $languageCod
266266
$relatedContent = $this->repository->getContentService()->loadContent($value->destinationContentId);
267267
// @todo: we can probably be better here and handle more than just "image"
268268
$fieldImageValue = $relatedContent->getFieldValue('image');
269-
if ($fieldImageValue) {
269+
if ($fieldImageValue instanceof ImageValue) {
270270
if ($fieldImageValue->uri) {
271271
return $this->getVariation(
272272
$fieldImageValue,

0 commit comments

Comments
 (0)