From: Joe Hunt Date: Fri, 6 Aug 2021 12:29:05 +0000 (+0200) Subject: NEW LINE BUG IN INVENTORY LOCATION TRANSFER. Fixed by @detkenn. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=3a07ab5b09141aa056c2c628f4f9fec79f45e85b NEW LINE BUG IN INVENTORY LOCATION TRANSFER. Fixed by @detkenn. --- 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(); }