Skip to content

Commit

Permalink
correct Dropdown directory selection; fixes #1044
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
  • Loading branch information
d00p committed Aug 16, 2022
1 parent d6b34cc commit 13571f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Froxlor/FileDir.php
Expand Up @@ -491,7 +491,7 @@ private static function findDirs($path, $uid, $gid)
new \RecursiveDirectoryIterator($path, \RecursiveDirectoryIterator::SKIP_DOTS),
$filter
),
\RecursiveIteratorIterator::LEAVES_ONLY,
\RecursiveIteratorIterator::SELF_FIRST,
\RecursiveIteratorIterator::CATCH_GET_CHILD
);
// we can limit the recursion-depth, but will it be helpful or
Expand Down

0 comments on commit 13571f1

Please sign in to comment.