mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-04-04 05:43:37 +03:00
fix country iso_code php notice
This commit is contained in:
parent
463485509e
commit
a25260f6eb
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ class ControllerApiRetailcrm extends Controller
|
|||
$address = array(
|
||||
'country_id' => $country_id,
|
||||
'zone_id' => $zone['zone_id'],
|
||||
'iso_code_2' => $country['iso_code_2'],
|
||||
'iso_code_3' => $country['iso_code_3'],
|
||||
'iso_code_2' => !empty($country['iso_code_2']) ? $country['iso_code_2'] : '',
|
||||
'iso_code_3' => !empty($country['iso_code_3']) ? $country['iso_code_3'] : '',
|
||||
'zone_code' => $zone['code'],
|
||||
'postcode' => '',
|
||||
'city' => ''
|
||||
|
|
Loading…
Add table
Reference in a new issue