FIX: property type

This commit is contained in:
Noé Cendrier 2025-01-23 10:34:59 +01:00
parent db97347497
commit 2589febbae

View file

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