summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorChris Chilvers <chilversc@gmail.com>2012-12-14 17:28:13 +0000
committerChris Chilvers <chilversc@gmail.com>2012-12-14 17:34:33 +0000
commitf5420b4eab76b9846528dfee507cacce93a29ecb (patch)
tree788194fa9c0728f6becc47b3ae3fb8ee74aadd82 /modules/search
parenta529a55e0b365309b4796edd291af3de4f80c110 (diff)
fix, use $current->score
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/helpers/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/helpers/search.php b/modules/search/helpers/search.php
index 64bd3d31..32b36e73 100644
--- a/modules/search/helpers/search.php
+++ b/modules/search/helpers/search.php
@@ -144,7 +144,7 @@ class search_Core {
item::clear_display_context_callback();
url::redirect(url::current());
}
- $score = $current->score();
+ $score = $current->score;
if (strlen($score) > 7) {
$score = substr($score, 0, strlen($score) - 2);
}