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-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=6141d5e04aa2c7a9e1742edbb9f590737104c95f;p=textcart.git Fixed item settings display after data update in Items. --- diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 87987f7..b270f91 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'];