diff options
Diffstat (limited to 'edit_stgrp_item.php')
| -rw-r--r-- | edit_stgrp_item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit_stgrp_item.php b/edit_stgrp_item.php index 27066cc..406d192 100644 --- a/edit_stgrp_item.php +++ b/edit_stgrp_item.php @@ -35,7 +35,7 @@ if( !$row ) { $errors = []; if( !empty( $_POST['fSave'] ) ) { - $data = trim( $_POST['data'] ?? '' ) ?: null; + $data = trim( $_POST['edit'] ?? '' ) ?: null; $gBitDb->query( "UPDATE `{$X}liberty_xref_item` SET `data` = ? WHERE `item` = ? AND `x_group` = 'stgrp' AND `content_type_guid` = 'stock'", |
