projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846ad2e
)
Fixed item settings display after data update in Items.
author
Janusz Dobrowolski
<janusz@frontaccouting.eu>
Mon, 6 Jun 2011 10:20:47 +0000
(12:20 +0200)
committer
Janusz Dobrowolski
<janusz@frontaccouting.eu>
Mon, 6 Jun 2011 10:20:47 +0000
(12:20 +0200)
inventory/manage/items.php
patch
|
blob
|
history
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index 87987f7ee6928cc7241af4346b1bcc7d13232f5d..b270f918ab05d1958d3ff85d5db836986d357af3 100644
(file)
--- 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'];