[-] BO : #PSFV-391 - Country restrictions for payment modules is not effective
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12817 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -181,7 +181,7 @@ class AdminPaymentControllerCore extends AdminController
|
||||
&& isset($module->limited_countries)
|
||||
&& !empty($module->limited_countries)
|
||||
&& !(in_array(strtoupper($item['iso_code']), array_map('strtoupper', $module->limited_countries))))
|
||||
$list['check_list'][$key_module] = null;
|
||||
$list['items'][$key_item]['check_list'][$key_module] = null;
|
||||
}
|
||||
}
|
||||
// update list
|
||||
|
||||
Reference in New Issue
Block a user