mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add default purchase date for csv import to prevent error when undefined
This commit is contained in:
@@ -860,6 +860,7 @@ if (isset($_POST["import_assets_csv"])) {
|
||||
// Default variables (if undefined)
|
||||
$description = $type = $make = $model = $serial = $os = '';
|
||||
$contact_id = $location_id = 0;
|
||||
$purchase_date = '0000-00-00';
|
||||
|
||||
$duplicate_detect = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user