fix when no order in one of country
This commit is contained in:
parent
7ef48d6256
commit
b64a84b5e7
@ -30,6 +30,9 @@ if ($module_instance->active) {
|
||||
|
||||
//we treat each locale
|
||||
foreach ($orders as $orderKey => $orderValues) {
|
||||
if(empty($orders[$orderKey])){
|
||||
continue;
|
||||
}
|
||||
$opt = array(
|
||||
'tsid' => Configuration::get('TRUSTED_SHOP_' . strtoupper($orderKey) . '_ID'),
|
||||
'tsuser' => Configuration::get('TRUSTED_SHOP_USER'),
|
||||
|
Loading…
Reference in New Issue
Block a user