From 36e3dd877f306093cafb7a961484bfe017c575fa Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Fri, 15 Apr 2011 13:57:25 +0000 Subject: [PATCH] // merge from 1.4 --- install-dev/php/desactivatecustommodules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dev/php/desactivatecustommodules.php b/install-dev/php/desactivatecustommodules.php index e44ea3431..e43ebc9a3 100644 --- a/install-dev/php/desactivatecustommodules.php +++ b/install-dev/php/desactivatecustommodules.php @@ -46,7 +46,7 @@ function desactivate_custom_modules() } } Module::disableByName($uninstallMe); - foreach ($modules AS $module) + foreach ($aModule AS $module) { $file = _PS_MODULE_DIR_.$module['name'].'/'.$module['name'].'.php'; if (!file_exists($file))