[-] BO : Fixing warnings on PaymentModule Tab

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15602 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-05-22 09:40:18 +00:00
parent c3bdc25d32
commit 629a7420f6
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -166,7 +166,7 @@ class AdminPaymentControllerCore extends AdminController
break;
}
$lists = array('currencies' =>
$lists = array(
array('items' => Currency::getCurrencies(),
'title' => $this->l('Currency restrictions'),
'desc' => $this->l('Please mark the checkbox(es) for the currency or currencies for which you want the payment module(s) to be available.'),
@@ -203,6 +203,9 @@ class AdminPaymentControllerCore extends AdminController
else
$list['items'][$key_item]['check_list'][$key_module] = 'unchecked';
if (!isset($module->$name_id))
$module->$name_id = array();
// If is a country list and the country is limited, remove it from list
if ($name_id == 'country'
&& isset($module->limited_countries)