summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/indexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/indexer.php b/inc/indexer.php
index f7bc4a7c4..3789098e0 100644
--- a/inc/indexer.php
+++ b/inc/indexer.php
@@ -115,7 +115,7 @@ function idx_getPageWords($page){
foreach ($arr as $w => $c) {
$l = strlen($w);
if(isset($words[$l])){
- $words[$l][$w] = $c * $count + (isset($words[$l][$w])) ? $words[$l][$w] : 0;
+ $words[$l][$w] = $c * $count + (isset($words[$l][$w]) ? $words[$l][$w] : 0);
}else{
$words[$l] = array($w => $c * $count);
}