From 87fbbce618d07781fc42a822d8b9d2acbb7647a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 28 Nov 2025 07:59:10 +0100 Subject: [PATCH] Update upgrade2.php --- htdocs/install/upgrade2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index c49f7c706ce..08055c71d49 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -4567,8 +4567,8 @@ function migrate_productlot_path() } if ($dir) { - $lot->id = $obj->rowid; - $lot->ref = $obj->rowid; // No ref for the moment + $lot->id = (int) $obj->rowid; + $lot->ref = (string) $obj->rowid; // No ref for the moment $lot->batch = $obj->batch; $lot->entity = $obj->entity; $lot->fk_product = $obj->fk_product;