aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2008-01-13 07:49:51 +0000
committerDavid M <davidmj@users.sourceforge.net>2008-01-13 07:49:51 +0000
commit13ee383aad2c1cbb75b86abe1a4c6600c6b08985 (patch)
treef42ec144e3a6342151e2ee02ce9939066dd9841f /phpBB/includes
parent9dcb557a5e76457dd0d91f4a3920ef29c167213a (diff)
downloadforums-13ee383aad2c1cbb75b86abe1a4c6600c6b08985.tar
forums-13ee383aad2c1cbb75b86abe1a4c6600c6b08985.tar.gz
forums-13ee383aad2c1cbb75b86abe1a4c6600c6b08985.tar.bz2
forums-13ee383aad2c1cbb75b86abe1a4c6600c6b08985.tar.xz
forums-13ee383aad2c1cbb75b86abe1a4c6600c6b08985.zip
#19245
git-svn-id: file:///svn/phpbb/trunk@8323 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-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 949d7bc0f4..e38f095f6d 100755
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -1015,9 +1015,9 @@ class fulltext_native extends search_backend
* Note: this could be optimized. If the codepoint is lower than Hangul's range
* we know that it will also be lower than CJK ranges
*/
- if ((strncmp($word, UTF8_HANGUL_FIRST, 3) < 0 || strncmp($word, UTF8_HANGUL_LAST, 3) > 0)
- && (strncmp($word, UTF8_CJK_FIRST, 3) < 0 || strncmp($word, UTF8_CJK_LAST, 3) > 0)
- && (strncmp($word, UTF8_CJK_B_FIRST, 4) < 0 || strncmp($word, UTF8_CJK_B_LAST, 4) > 0))
+ if ((strncmp($word, utf_normalizer::UTF8_HANGUL_FIRST, 3) < 0 || strncmp($word, utf_normalizer::UTF8_HANGUL_LAST, 3) > 0)
+ && (strncmp($word, utf_normalizer::UTF8_CJK_FIRST, 3) < 0 || strncmp($word, utf_normalizer::UTF8_CJK_LAST, 3) > 0)
+ && (strncmp($word, utf_normalizer::UTF8_CJK_B_FIRST, 4) < 0 || strncmp($word, utf_normalizer::UTF8_CJK_B_LAST, 4) > 0))
{
$word = strtok(' ');
continue;