diff --git a/phpgwapi/inc/class.sqlfs_utils.inc.php b/phpgwapi/inc/class.sqlfs_utils.inc.php index 088af08ad8..c7db21f401 100644 --- a/phpgwapi/inc/class.sqlfs_utils.inc.php +++ b/phpgwapi/inc/class.sqlfs_utils.inc.php @@ -268,7 +268,7 @@ class sqlfs_utils extends sqlfs_stream_wrapper 'fs_dir' => $row['fs_dir'], 'fs_name' => $row['fs_name'], )); - foreach($stmt as $entry) + foreach($stmt as $n => $entry) { if ($entry['fs_mime'] == 'httpd/unix-directory') {