diff options
-rw-r--r-- | inc/indexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index 747463d0f..2bc707269 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -49,7 +49,7 @@ function idx_getPageWords($page){ $words[$w] = $c + (isset($words[$w]) ? $words[$w] : 0); } } else { - if (!is_numeric($w) && strlen($w) < 3) continue; + if (!is_numeric($word) && strlen($word) < 3) continue; $word = strtolower($word); $words[$word] = $count + (isset($words[$word]) ? $words[$word] : 0); } |