Browse Source

Fix avoid false warning

Laurent Destailleur 9 years ago
parent
commit
dbb8460180
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/admin/modules.php

+ 1 - 1
htdocs/admin/modules.php

@@ -140,7 +140,7 @@ foreach ($modulesdir as $dir)
 				                $objMod = new $modName($db);
 								$modNameLoaded[$modName]=$dir;
 
-    		    		        if (! $objMod->numero > 0)
+    		    		        if (! $objMod->numero > 0 && $modName != 'modUser')
     		            		{
     		         		    	dol_syslog('The module descriptor '.$modName.' must have a numero property', LOG_ERR);
     		            		}