From 15c129d4ecbb0de7c9b7730568057d2783896311 Mon Sep 17 00:00:00 2001 From: Slawomir Dolzycki-Uchto Date: Wed, 5 Jun 2024 12:20:49 +0200 Subject: [PATCH] Update src/lib/Persistence/Legacy/Content/Mapper/ResolveVirtualFieldSubscriber.php Co-authored-by: Konrad Oboza --- .../Legacy/Content/Mapper/ResolveVirtualFieldSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Persistence/Legacy/Content/Mapper/ResolveVirtualFieldSubscriber.php b/src/lib/Persistence/Legacy/Content/Mapper/ResolveVirtualFieldSubscriber.php index 36903a50f3..98b2f76c00 100644 --- a/src/lib/Persistence/Legacy/Content/Mapper/ResolveVirtualFieldSubscriber.php +++ b/src/lib/Persistence/Legacy/Content/Mapper/ResolveVirtualFieldSubscriber.php @@ -211,7 +211,7 @@ private function getDefaultValue(FieldDefinition $fieldDefinition): FieldValue private function getDefaultStorageValue(): StorageFieldValue { $storageValue = new StorageFieldValue(); - $storageValue->dataFloat = 0; + $storageValue->dataFloat = 0.0; $storageValue->dataInt = 0; $storageValue->dataText = ''; $storageValue->sortKeyInt = 0;