mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56: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;
|
||||
}
|
||||
|
||||
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