summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/indexer.php')
-rw-r--r--inc/indexer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/indexer.php b/inc/indexer.php
index 54277a88c..01ba76b08 100644
--- a/inc/indexer.php
+++ b/inc/indexer.php
@@ -305,6 +305,8 @@ function idx_addPage($page){
}
unset($page_idx); // free memory
+ idx_saveIndexLine('title', '', $pid, p_get_first_heading($page, false));
+
$pagewords = array();
// get word usage in page
$words = idx_getPageWords($page);