mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 13:16:07 +03:00
Change logical operator to prevent notices
This commit is contained in:
commit
0d0f0aa1d0
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user