From fa3b9e44b37725e018b35ae705c404cbf4eb62d2 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 14 Apr 2020 09:33:24 +0300 Subject: [PATCH] Fixes #178. Edited logical operator --- src/upload/admin/model/extension/retailcrm/icml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']