aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-10-01 08:48:32 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-10-01 08:48:32 +0000
commitbc15445b58403c92ebca9e23ef3d9a59fbdccc92 (patch)
tree46880b44be1949f01ada2f29e7f3f42ab4123c1b /phpBB/includes/search
parentbc770de9b93973a359a46ef39838e89f18e685ae (diff)
downloadforums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.gz
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.bz2
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.xz
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.zip
- forgot to make the same change to the ODBC driver
- MySQL 3.x works now - FirebirdSQL is now on the same level as MySQL and PostgreSQL, zero hacks exist inside the core code now git-svn-id: file:///svn/phpbb/trunk@6422 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search')
-rwxr-xr-xphpBB/includes/search/fulltext_native.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 1dcb599718..5be5c46540 100755
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -953,11 +953,11 @@ class fulltext_native extends search_backend
while (isset($word[0]))
{
- if (isset($word[252])
+ if (isset($word[255])
|| !isset($word[$isset_min]))
{
/**
- * Words longer than 252 bytes are ignored. This will have to be
+ * Words longer than 255 bytes are ignored. This will have to be
* changed whenever we change the length of search_wordlist.word_text
*
* Words shorter than $isset_min bytes are ignored, too
@@ -1570,7 +1570,7 @@ class fulltext_native extends search_backend
// These are fields required in the config table
return array(
'tpl' => $tpl,
- 'config' => array('fulltext_native_load_upd' => 'bool', 'fulltext_native_min_chars' => 'integer:0:252', 'fulltext_native_max_chars' => 'integer:0:255')
+ 'config' => array('fulltext_native_load_upd' => 'bool', 'fulltext_native_min_chars' => 'integer:0:255', 'fulltext_native_max_chars' => 'integer:0:255')
);
}
}