[-] BO : Remove undefined name when module can not be installed
This commit is contained in:
1 parent
23b70c4906
commit
5989481859
2 files changed
+3
-3
No files matched your search
@@ -629,7 +629,7 @@ class AdminModulesControllerCore extends AdminController
|
||||
$this->errors[] = $this->l('Error on downloading the lastest version');
|
||||
else
|
||||
if(!$this->extractArchive(_PS_MODULE_DIR_.$modaddons->name.'.zip', false))
|
||||
$this->errors[] = $this->l(sprintf("Module %s can't be upgraded: ", $module->displayName));
|
||||
$this->errors[] = $this->l(sprintf("Module %s can't be upgraded: ", $modaddons->name));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user