projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Item type dispaincorrectd after change saving.
[fa-stable.git]
/
inventory
/
manage
/
items.php
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index 3e146ca7671327db1cb5f1ae488a133c9b64abfd..1391b825da10ae35f305a6165b31454b3535f813 100644
(file)
--- a/
inventory/manage/items.php
+++ b/
inventory/manage/items.php
@@
-276,7
+276,8
@@
if ($new_item)
}
else
{ // Must be modifying an existing item
- if (!isset($_POST['NewStockID'])) {
+ if (get_post('NewStockID') != get_post('stock_id')) { // first item display
+
$_POST['NewStockID'] = $_POST['stock_id'];
$myrow = get_item($_POST['NewStockID']);