summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php
index 302d9d1f5..71bb64b4c 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -905,6 +905,8 @@ function tpl_indexerWebBug(){
global $INFO;
if(!$INFO['exists']) return;
+ if(isHiddenPage($ID)) return; //no need to index hidden pages
+
$p = array();
$p['src'] = DOKU_BASE.'lib/exe/indexer.php?id='.urlencode($ID).
'&'.time();