aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--inc/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php
index 14cd0f89c..e4d9c3caf 100644
--- a/inc/search.php
+++ b/inc/search.php
@@ -333,7 +333,7 @@ function search_allpages(&$data,$base,$file,$type,$lvl,$opts){
$item = array();
$item['id'] = pathID($file);
- if(isset($opts['skipacl']) && !$opts['skipacl'] && auth_quickaclcheck($item['id']) < AUTH_READ){
+ if(empty($opts['skipacl']) && auth_quickaclcheck($item['id']) < AUTH_READ){
return false;
}