From 434697e78ee79a5bb87d0b8ed4edd37eb97809f7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 6 Nov 2024 23:52:53 +0100 Subject: [PATCH] FIX Search on batch code --- htdocs/expedition/ajax/searchfrombarcode.php | 2 +- htdocs/product/inventory/ajax/searchfrombarcode.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/ajax/searchfrombarcode.php b/htdocs/expedition/ajax/searchfrombarcode.php index f1f354a0438..c3438388538 100644 --- a/htdocs/expedition/ajax/searchfrombarcode.php +++ b/htdocs/expedition/ajax/searchfrombarcode.php @@ -45,7 +45,7 @@ $fk_entrepot = GETPOSTINT("fk_entrepot"); $fk_inventory = GETPOSTINT("fk_inventory"); $fk_product = GETPOSTINT("fk_product"); $reelqty = GETPOSTINT("reelqty"); -$batch = GETPOSTINT("batch"); +$batch = GETPOST("batch", "aZ09"); $mode = GETPOST("mode", "aZ"); $warehousefound = 0; diff --git a/htdocs/product/inventory/ajax/searchfrombarcode.php b/htdocs/product/inventory/ajax/searchfrombarcode.php index 68b848bcc34..fa19b0609f4 100644 --- a/htdocs/product/inventory/ajax/searchfrombarcode.php +++ b/htdocs/product/inventory/ajax/searchfrombarcode.php @@ -47,7 +47,7 @@ $fk_entrepot = GETPOSTINT("fk_entrepot"); $fk_inventory = GETPOSTINT("fk_inventory"); $fk_product = GETPOSTINT("fk_product"); $reelqty = GETPOSTINT("reelqty"); -$batch = GETPOSTINT("batch"); +$batch = GETPOST("batch", "aZ09"); $mode = GETPOST("mode", "aZ"); $warehousefound = 0;