mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 06:36:06 +03:00
Fixes #178. Edited logical operator
This commit is contained in:
parent
b57ff08d31
commit
fa3b9e44b3
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user