diff options
-rw-r--r-- | inc/search.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/search.php b/inc/search.php index d6a2166c5..3b225ddec 100644 --- a/inc/search.php +++ b/inc/search.php @@ -156,6 +156,10 @@ function search_index(&$data,$base,$file,$type,$lvl,$opts){ $id = pathID($file); + if($type=='d' && auth_quickaclcheck($id.':') < AUTH_READ){ + return false; + } + //check hidden if(isHiddenPage($id)){ return false; |