From a85a08cbd872c274efc9ae19de0ba510ce91171a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 9 Jan 2012 18:25:14 +0800 Subject: [PATCH] Fix: avoid warning --- htdocs/user/perms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index 26a4a47a7a6..adb16ebda79 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -149,7 +149,7 @@ foreach ($conf->file->dol_document_root as $type => $dirroot) foreach($modulesdir as $dir) { - $handle=opendir($dir); + $handle=@opendir($dir); if (is_resource($handle)) { while (($file = readdir($handle))!==false)