[-] BO : Remove undefined name when module can not be installed

This commit is contained in:
gRoussac
2013-04-15 16:21:03 +02:00
parent 23b70c4906
commit 5989481859
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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));
}
}
}