From 2589febbae97cd9ff25722157648c7dd13e9615e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Cendrier?= Date: Thu, 23 Jan 2025 10:34:59 +0100 Subject: [PATCH] FIX: property type --- htdocs/product/price.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index d8000817b9f..1984b661cab 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -486,7 +486,7 @@ if (empty($reshook)) { // Packaging / Conditionnement if (getDolGlobalString('PRODUCT_USE_CUSTOMER_PACKAGING')) { - $object->packaging = $packaging; + $object->packaging = (double) $packaging; } foreach ($pricestoupdate as $key => $val) {