// Module upload error message
This commit is contained in:
@@ -857,7 +857,7 @@ abstract class ModuleCore
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user