mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix problem, directory name "0" is not detected in _subdirs()
This commit is contained in:
@@ -577,7 +577,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
if ($dirItr->hasChildren()) {
|
||||
$dirs = true;
|
||||
$name = $dirItr->getSubPathName();
|
||||
while($name) {
|
||||
while($dirItr->valid()) {
|
||||
if (!$this->attr($path . DIRECTORY_SEPARATOR . $name, 'read', null, true)) {
|
||||
$dirs = false;
|
||||
$dirItr->next();
|
||||
|
||||
Reference in New Issue
Block a user