[-] BO : Remove undefined name when module can not be installed
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blockadvertising</name>
|
||||
<displayName><![CDATA[Block advertising]]></displayName>
|
||||
<displayName><![CDATA[Bloc publicité]]></displayName>
|
||||
<version><![CDATA[0.5]]></version>
|
||||
<description><![CDATA[Adds an advertisement block to selected sections of your e-commerce webiste.]]></description>
|
||||
<description><![CDATA[Ajoute un bloc affichant une publicité]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[advertising_marketing]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
|
||||
Reference in New Issue
Block a user