From d96bb3a86e4a78ec4f1753f87d9dd0411f8da896 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 25 Aug 2003 01:38:49 +0000 Subject: A few more changes ... nearly there ... deleting users is going to be a little troublesome git-svn-id: file:///svn/phpbb/trunk@4430 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_admin.php') diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index c1d329f60b..503ede56ca 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -172,7 +172,7 @@ function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png') $dir = ($dir && substr($dir, -1) != '/') ? $dir . '/' : $dir; $dh = opendir($rootdir . $dir); - while ($fname = readdir($dh)) + while (($fname = readdir($dh)) !== false) { if (is_file("$rootdir$dir$fname")) { -- cgit v1.2.1