mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-29 19:31:41 +00:00
add is_null acheck to import hanlder for custom fields
This commit is contained in:
parent
63994333d0
commit
c36236b7dc
@ -40,7 +40,7 @@ class AssetImporter extends ItemImporter
|
||||
// ItemImporter handles the general fetching.
|
||||
parent::handle($row);
|
||||
|
||||
if ($this->customFields) {
|
||||
if (!is_null($this->customFields)) {
|
||||
foreach ($this->customFields as $customField) {
|
||||
$customFieldValue = $this->array_smart_custom_field_fetch($row, $customField);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user