diff --git a/Search.php b/Search.php index 90dfe0f..5af06fe 100644 --- a/Search.php +++ b/Search.php @@ -191,7 +191,9 @@ private function makeNodes(&$data, $indexLatestParsedItem, $previousLevel, &$nod if ($item['type'] === 'f' || !empty($node['children']) || isset($node['lazy']) || $item['hns'] !== false) { // add only files, non-empty folders, lazy-loaded or folder with only a headpage - $nodes[] = $node; + if(auth_quickaclcheck($item['id'])) { + $nodes[] = $node; + } } $previousLevel = $item['level'];