summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index 1401e2420..e8294107d 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -482,7 +482,7 @@ function search_index($sid, $type, $text) {
list($tagname) = explode(' ', $value, 2);
$tagname = drupal_strtolower($tagname);
// Closing or opening tag?
- if ($tagname{0} == '/') {
+ if ($tagname[0] == '/') {
$tagname = substr($tagname, 1);
// If we encounter unexpected tags, reset score to avoid incorrect boosting.
if (!count($tagstack) || $tagstack[0] != $tagname) {