diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-03-08 18:14:16 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-03-08 18:14:16 +0100 |
commit | 061df79cb7afcffb967ea141fb14e9b0d7fe1d13 (patch) | |
tree | 3a953681d57f15586b8535718dd4a3bc52bde13e /inc | |
parent | 173d78c48000fa8d05b95f57c42176eb1bbb2b5e (diff) | |
download | rpg-061df79cb7afcffb967ea141fb14e9b0d7fe1d13.tar.gz rpg-061df79cb7afcffb967ea141fb14e9b0d7fe1d13.tar.bz2 |
fixed skipacl option in search_allpages()
darcs-hash:20090308171416-7ad00-c144ff2125b9abd9b99c3ad0b6a1c38a12bf55d9.gz
Diffstat (limited to 'inc')
-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; } |