From 34a0b6fa83eb75da0b06c7066178df17594ccd9c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 8 Sep 2006 21:10:16 +0000 Subject: [PATCH] Suppression warning --- htdocs/admin/modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 07b0400b291..01d29c490bc 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -193,6 +193,7 @@ $dir = DOL_DOCUMENT_ROOT . "/includes/modules/"; // Charge tableaux modules, nom, numero, orders depuis répertoire dir $handle=opendir($dir); +$nom = array(); $modules = array(); $orders = array(); $i = 0; @@ -218,7 +219,6 @@ while (($file = readdir($handle))!==false) } $modules[$i] = $objMod; - $nom[$i] = $modName; $orders[$i] = "$objMod->family"."_".$j; // Tri par famille puis numero module $j++;