From ab410e2c19283568c469cbf9efd2c690282305a0 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 20 Jul 2003 14:18:53 +0000 Subject: Updates for changes to filelist() git-svn-id: file:///svn/phpbb/trunk@4289 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/admin_attachments.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'phpBB/adm/admin_attachments.php') diff --git a/phpBB/adm/admin_attachments.php b/phpBB/adm/admin_attachments.php index 72980e58f6..2def31433f 100644 --- a/phpBB/adm/admin_attachments.php +++ b/phpBB/adm/admin_attachments.php @@ -660,10 +660,13 @@ if ($mode == 'ext_groups') $imglist = filelist($phpbb_root_path . $img_path, ''); $filename_list = ''; - foreach ($imglist as $img) + foreach ($imglist as $path => $img_ary) { - $img = substr($img['path'], 1) . (($img['path'] != '') ? '/' : '') . $img['file']; - $filename_list .= ''; + foreach ($img_ary as $img) + { + $img = substr($path, 1) . (($path != '') ? '/' : '') . $img; + $filename_list .= ''; + } } $size = isset($_REQUEST['size']) ? intval($_REQUEST['size']) : 0; -- cgit v1.2.1