[*] MO : change calls method Tools::displayError() by $name_module->l() && Translations

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15094 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-05-09 10:06:23 +00:00
parent 8947a4be80
commit eccb5b7da2
60 changed files with 336 additions and 278 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ foreach (Module::getPaymentModules() as $module)
break;
}
if (!$authorized)
die(Tools::displayError('This payment method is not available.'));
die($cheque->l('This payment method is not available.', 'validation'));
$customer = new Customer($cart->id_customer);