aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-30 13:37:29 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-30 13:37:29 +0100
commitef1f99183796f8e246f96bca54ca439bf8ea1750 (patch)
tree0b27c61c441bbe2bc85028a4d0de2d4da8196e9b /phpBB/phpbb/search
parent7aa8f6461f1e85cf91931f56b95384e54fec07c2 (diff)
downloadforums-ef1f99183796f8e246f96bca54ca439bf8ea1750.tar
forums-ef1f99183796f8e246f96bca54ca439bf8ea1750.tar.gz
forums-ef1f99183796f8e246f96bca54ca439bf8ea1750.tar.bz2
forums-ef1f99183796f8e246f96bca54ca439bf8ea1750.tar.xz
forums-ef1f99183796f8e246f96bca54ca439bf8ea1750.zip
[task/code-sniffer] Replace spaces with tabs.
PHPBB3-11980
Diffstat (limited to 'phpBB/phpbb/search')
-rw-r--r--phpBB/phpbb/search/fulltext_native.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php
index f3bb94a0c5..1b314a24d3 100644
--- a/phpBB/phpbb/search/fulltext_native.php
+++ b/phpBB/phpbb/search/fulltext_native.php
@@ -1180,8 +1180,8 @@ class fulltext_native extends \phpbb\search\base
* 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))
+ && (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))
{
$word = strtok(' ');
continue;
@@ -1675,8 +1675,8 @@ class fulltext_native extends \phpbb\search\base
$pos += $utf_len;
if (($utf_char >= UTF8_HANGUL_FIRST && $utf_char <= UTF8_HANGUL_LAST)
- || ($utf_char >= UTF8_CJK_FIRST && $utf_char <= UTF8_CJK_LAST)
- || ($utf_char >= UTF8_CJK_B_FIRST && $utf_char <= UTF8_CJK_B_LAST))
+ || ($utf_char >= UTF8_CJK_FIRST && $utf_char <= UTF8_CJK_LAST)
+ || ($utf_char >= UTF8_CJK_B_FIRST && $utf_char <= UTF8_CJK_B_LAST))
{
/**
* All characters within these ranges are valid