summaryrefslogtreecommitdiff
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 5de5a1f47..5f1ae6f1a 100644
--- a/inc/search.php
+++ b/inc/search.php
@@ -157,7 +157,7 @@ function search_index(&$data,$base,$file,$type,$lvl,$opts){
$id = pathID($file);
//check hidden
- if($type=='f' && isHiddenPage($id)){
+ if(isHiddenPage($id)){
return false;
}