diff --git a/eZ/Publish/Core/MVC/Symfony/FieldType/ImageAsset/ParameterProvider.php b/eZ/Publish/Core/MVC/Symfony/FieldType/ImageAsset/ParameterProvider.php index 346ecb6d53..e759b34c2a 100644 --- a/eZ/Publish/Core/MVC/Symfony/FieldType/ImageAsset/ParameterProvider.php +++ b/eZ/Publish/Core/MVC/Symfony/FieldType/ImageAsset/ParameterProvider.php @@ -50,7 +50,7 @@ public function getViewParameters(Field $field): array try { $contentInfo = $this->loadContentInfo( - $field->value->destinationContentId + (int)$field->value->destinationContentId ); return [