From 3a07ab5b09141aa056c2c628f4f9fec79f45e85b Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 6 Aug 2021 14:29:05 +0200 Subject: [PATCH] NEW LINE BUG IN INVENTORY LOCATION TRANSFER. Fixed by @detkenn. --- inventory/transfers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inventory/transfers.php b/inventory/transfers.php index 3cbc3c2c..329925ee 100644 --- a/inventory/transfers.php +++ b/inventory/transfers.php @@ -191,6 +191,7 @@ function handle_new_item() if (!isset($_POST['std_cost'])) $_POST['std_cost'] = 0; add_to_order($_SESSION['transfer_items'], $_POST['stock_id'], input_num('qty'), $_POST['std_cost']); + unset($_POST['stock_id']); line_start_focus(); } -- 2.30.2