From e6f8dba2e65853baf694e1ae3c12c8c5e41b48ef Mon Sep 17 00:00:00 2001 From: gRoussac Date: Sun, 8 Sep 2013 19:55:03 +0200 Subject: [PATCH] // remove Notice: Undefined index --- classes/module/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/module/Module.php b/classes/module/Module.php index 2c95d60bf..0dfdd6535 100644 --- a/classes/module/Module.php +++ b/classes/module/Module.php @@ -299,7 +299,7 @@ abstract class ModuleCore $this->_errors[] = $upgrade_detail['number_upgrade_left'].' '.$this->l('upgrade left'); } - if ($upgrade_detail['duplicate']) + if (isset($upgrade_detail['duplicate']) && $upgrade_detail['duplicate']) $this->_errors[] = sprintf(Tools::displayError('Module %s cannot be upgraded this time: please refresh this page to update it.'), $this->name); else $this->_errors[] = $this->l('To prevent any problem, this module has been turned off');