From 18ecad4b52bbe2a5b3584a17caccc491a5ac9e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Parafi=C5=84ski?= Date: Tue, 25 Aug 2020 15:08:56 +0200 Subject: [PATCH] EZP-31806: Casted destinationContentId to int (#98) --- .../Core/MVC/Symfony/FieldType/ImageAsset/ParameterProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [