Fixes #178. Edited logical operator

This commit is contained in:
Akolzin Dmitry 2020-04-14 09:33:24 +03:00
parent b57ff08d31
commit fa3b9e44b3

View File

@ -358,7 +358,7 @@ class ModelExtensionRetailcrmIcml extends Model
$this->optionValues[$optionValueId] = $optionValue; $this->optionValues[$optionValueId] = $optionValue;
} }
if (!empty($option['name']) || !empty($optionValue['name'])) { if (!empty($option['name']) && !empty($optionValue['name'])) {
return array( return array(
'optionName' => $option['name'], 'optionName' => $option['name'],
'optionValue' => $optionValue['name'] 'optionValue' => $optionValue['name']