This commit is contained in:
parent
255675bbf2
commit
7a3a3d265d
@ -105,7 +105,7 @@ function scandirRec($path, $category, $params) {
|
||||
$items = array_merge($items, scandirRec($file, $category, $params));
|
||||
} else {
|
||||
$return = scandirRec($file, $category, $params);
|
||||
if (count($return) > 0) {
|
||||
if (!empty($return)) {
|
||||
$items[] = $return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user