We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36236b commit e4f8c1bCopy full SHA for e4f8c1b
app/Importer/AssetImporter.php
@@ -40,11 +40,11 @@ protected function handle($row)
40
// ItemImporter handles the general fetching.
41
parent::handle($row);
42
43
- if (!is_null($this->customFields)) {
+ if ($this->customFields) {
44
foreach ($this->customFields as $customField) {
45
$customFieldValue = $this->array_smart_custom_field_fetch($row, $customField);
46
47
- if ($customFieldValue) {
+ if (!is_null($customFieldValue)) {
48
if ($customField->field_encrypted == 1) {
49
$this->item['custom_fields'][$customField->db_column_name()] = Crypt::encrypt($customFieldValue);
50
$this->log('Custom Field '.$customField->name.': '.Crypt::encrypt($customFieldValue));
0 commit comments