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;