#15682Reading folder contents fails if folder name is 0
Description
If a folder contains a subfolder which has a name ‘0’ readdir fails to read directory. Solution is documented at php.net [1].
Don’t know, where this function is used in the core, I recognized the problem when using filelist on a large picture database which stores files in single character-named folders. Maybe this is already solved in higher versions, haven’t tried it yet.
[1] http://de3.php.net/manual/de/function.readdir.php
(issue imported from #M2642)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.