[-] BO : #PSCFV-2758 : fix error when use Tools::displayErrors()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15956 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-06-08 14:54:59 +00:00
parent dbcff517b4
commit 062f497b0b
2 changed files with 2 additions and 2 deletions

View File

@@ -837,7 +837,7 @@ abstract class ModuleCore
public static function getInstanceByName($module_name)
{
if (!Validate::isModuleName($module_name))
die(Tools::displayErrors());
die(Tools::displayError());
if (!isset(self::$_INSTANCE[$module_name]))
{
if (Tools::file_exists_cache(_PS_MODULE_DIR_.$module_name.'/'.$module_name.'.php'))