From 59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Mon, 29 Sep 2014 21:45:27 +0200 Subject: more scrutinizer issue improvements --- inc/search.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/search.php') diff --git a/inc/search.php b/inc/search.php index 5489dc2c0..79d930149 100644 --- a/inc/search.php +++ b/inc/search.php @@ -258,6 +258,7 @@ function search_allpages(&$data,$base,$file,$type,$lvl,$opts){ //only search txt files if(substr($file,-4) != '.txt') return true; + $item = array(); $item['id'] = pathID($file); if(!$opts['skipacl'] && auth_quickaclcheck($item['id']) < AUTH_READ){ return false; -- cgit v1.2.3