From c7c7601898b6350003160902be0c0bc6ebf3539b Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 6 Jun 2011 12:20:47 +0200 Subject: [PATCH] Fixed item settings display after data update in Items. --- inventory/manage/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.30.2