Permalink
Browse files

// Module upload error message

  • Loading branch information...
1 parent 1c0d096 commit 8d795f46adb2dca5f256b8a6f3eaf36195f528ce @gaillafr gaillafr 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 8d795f4

Please sign in to comment.