Skip to content
Snippets Groups Projects
Commit 061df79c authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed skipacl option in search_allpages()

darcs-hash:20090308171416-7ad00-c144ff2125b9abd9b99c3ad0b6a1c38a12bf55d9.gz
parent 173d78c4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment