[-] BO : fix #PSCFV-2480 : fix translations
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15615 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -39,12 +39,12 @@ abstract class TaxManagerModuleCore extends Module
|
||||
$class_file = _PS_MODULE_DIR_.'/'.$this->name.'/'.$this->tax_manager_class.'.php';
|
||||
|
||||
if (!isset($this->tax_manager_class) || !file_exists($class_file))
|
||||
die(Tools::displayError('Incorrect Tax Manager class ['.$this->tax_manager_class.']'));
|
||||
die(sprintf(Tools::displayError('Incorrect Tax Manager class [%s]'), $this->tax_manager_class));
|
||||
|
||||
require_once($class_file);
|
||||
|
||||
if (!class_exists($this->tax_manager_class))
|
||||
die(Tools::displayError('Tax Manager class not found ['.$this->tax_manager_class.']'));
|
||||
die(sprintf(Tools::displayError('Tax Manager class not found [%s]'), $this->tax_manager_class));
|
||||
|
||||
$class = $this->tax_manager_class;
|
||||
if (call_user_func(array($class, 'isAvailableForThisAddress'), $args['address']))
|
||||
@@ -52,5 +52,4 @@ abstract class TaxManagerModuleCore extends Module
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user