diff --git a/src/upload/admin/model/extension/retailcrm/icml.php b/src/upload/admin/model/extension/retailcrm/icml.php index c257b3c..4c5087a 100644 --- a/src/upload/admin/model/extension/retailcrm/icml.php +++ b/src/upload/admin/model/extension/retailcrm/icml.php @@ -358,7 +358,7 @@ class ModelExtensionRetailcrmIcml extends Model $this->optionValues[$optionValueId] = $optionValue; } - if (!empty($option['name']) || !empty($optionValue['name'])) { + if (!empty($option['name']) && !empty($optionValue['name'])) { return array( 'optionName' => $option['name'], 'optionValue' => $optionValue['name']