mirror of https://github.com/itflow-org/itflow
Fix Transfer Asset to client due to field change from asset_important to asset_favorite
This commit is contained in:
parent
1bee085b33
commit
fd29eb7c15
|
|
@ -376,8 +376,8 @@ if (isset($_POST['bulk_transfer_client_asset'])) {
|
||||||
|
|
||||||
// Create new asset
|
// Create new asset
|
||||||
mysqli_query($mysqli, "
|
mysqli_query($mysqli, "
|
||||||
INSERT INTO assets (asset_type, asset_name, asset_description, asset_make, asset_model, asset_serial, asset_os, asset_status, asset_purchase_date, asset_warranty_expire, asset_install_date, asset_notes, asset_important)
|
INSERT INTO assets (asset_type, asset_name, asset_description, asset_make, asset_model, asset_serial, asset_os, asset_status, asset_purchase_date, asset_warranty_expire, asset_install_date, asset_notes, asset_favorite)
|
||||||
SELECT asset_type, asset_name, asset_description, asset_make, asset_model, asset_serial, asset_os, asset_status, asset_purchase_date, asset_warranty_expire, asset_install_date, asset_notes, asset_important
|
SELECT asset_type, asset_name, asset_description, asset_make, asset_model, asset_serial, asset_os, asset_status, asset_purchase_date, asset_warranty_expire, asset_install_date, asset_notes, asset_favorite
|
||||||
FROM assets
|
FROM assets
|
||||||
WHERE asset_id = $current_asset_id
|
WHERE asset_id = $current_asset_id
|
||||||
");
|
");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue