mirror of https://github.com/itflow-org/itflow
Add default purchase date for csv import to prevent error when undefined
This commit is contained in:
parent
5aee84e84f
commit
52dac2252a
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue