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) {