aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-10 14:55:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-10 14:55:49 +0000
commita5e32e5a940d4c107ad9266a818fd137a30a4bab (patch)
tree8213fa3aa1934d1a18e7758c777018ecc4e178a0
parent3d0759974b3679aa75f23840e0b2f7c725091560 (diff)
downloadforums-a5e32e5a940d4c107ad9266a818fd137a30a4bab.tar
forums-a5e32e5a940d4c107ad9266a818fd137a30a4bab.tar.gz
forums-a5e32e5a940d4c107ad9266a818fd137a30a4bab.tar.bz2
forums-a5e32e5a940d4c107ad9266a818fd137a30a4bab.tar.xz
forums-a5e32e5a940d4c107ad9266a818fd137a30a4bab.zip
keywords is a string...
git-svn-id: file:///svn/phpbb/trunk@6562 89ea8834-ac86-4346-8a33-228a782c2dd0
-rwxr-xr-xphpBB/includes/search/fulltext_native.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 5cc7fd31c7..b47076228a 100755
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -91,7 +91,7 @@ class fulltext_native extends search_backend
}
$open_bracket = $space = false;
- for ($i = 0, $n = $keywords; $i < $n; $i++)
+ for ($i = 0, $n = strlen($keywords); $i < $n; $i++)
{
if ($open_bracket !== false)
{