diff options
-rw-r--r-- | inc/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php index ef344840e..609313594 100644 --- a/inc/search.php +++ b/inc/search.php @@ -301,7 +301,7 @@ function search_allpages(&$data,$base,$file,$type,$lvl,$opts){ if(substr($file,-4) != '.txt') return true; $item['id'] = pathID($file); - if(!$opts['skipacl'] && auth_quickaclcheck($id) < AUTH_READ){ + if(!$opts['skipacl'] && auth_quickaclcheck($item['id']) < AUTH_READ){ return false; } |