Permalink
Browse files

Merge branch 'development' of https://github.com/PrestaShop/PrestaShop

…into development
  • Loading branch information...
2 parents 043bb74 + 8d795f4 commit 3edef3b387c0f4996543c83b8db31be0f2b78a78 @vAugagneur vAugagneur committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/module/Module.php
@@ -857,7 +857,7 @@ public static function getInstanceByName($module_name)
if (!Validate::isModuleName($module_name))
{
if (_PS_MODE_DEV_)
- die(Tools::displayError());
+ die(Tools::displayError($module_name.' is not a valid module name.'));
return false;
}

0 comments on commit 3edef3b

Please sign in to comment.