From: Janusz Dobrowolski Date: Mon, 6 Jun 2011 10:20:47 +0000 (+0200) Subject: Fixed item settings display after data update in Items. X-Git-Tag: 2.3-final~631 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c7c7601898b6350003160902be0c0bc6ebf3539b;p=fa-stable.git Fixed item settings display after data update in Items. --- diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 87987f7e..b270f918 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -276,7 +276,7 @@ if ($new_item) } else { // Must be modifying an existing item - if (get_post('NewStockID') != get_post('stock_id')) { // first item display + if (get_post('NewStockID') != get_post('stock_id') || get_post('addupdate')) { // first item display $_POST['NewStockID'] = $_POST['stock_id'];