summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-01-15 07:14:14 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-01-15 07:14:14 +0000
commit2e9bbda79198879adba89eda98e4a4867d9d3cd9 (patch)
tree3aebddf5e83e94737c5891978c5443c3ccae77c2 /modules/search
parent3329ad927c93b86587ec6ef3b7804ddcf1948384 (diff)
downloadbrdo-2e9bbda79198879adba89eda98e4a4867d9d3cd9.tar.gz
brdo-2e9bbda79198879adba89eda98e4a4867d9d3cd9.tar.bz2
- #44772: {} -> [] (in anticipation of PHP de-deprecation)
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 1401e2420..e8294107d 100644
--- a/modules/search/search.module
+++ b/modules/search/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) {