summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-11-14 22:04:40 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-11-14 22:04:40 +0100
commitb2bc63f038e8b3c51be7fdf0fd8a3bd65721a4e3 (patch)
treeb3e636a1e3de13a2e350e0f2943a1c236c2edb02 /inc/indexer.php
parentc6e62e9f46b1129c1c2ac7eb08faf800115be9e9 (diff)
downloadrpg-b2bc63f038e8b3c51be7fdf0fd8a3bd65721a4e3.tar.gz
rpg-b2bc63f038e8b3c51be7fdf0fd8a3bd65721a4e3.tar.bz2
bracket fix in inc/indexer.php
darcs-hash:20061114210440-7ad00-841acaf84e77e7bea16b96317531bd502ee44938.gz
Diffstat (limited to 'inc/indexer.php')
-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);
}