aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_postgres.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-17 00:42:40 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-17 00:42:40 +0200
commitc9da435d3c952db59e8d0a3198ef23f48789672f (patch)
tree9a85d547b64bcc61cc0417469f3b026d43885d9f /phpBB/phpbb/search/fulltext_postgres.php
parent7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00 (diff)
parent89af1150718a184249d8040637969b03a3003596 (diff)
downloadforums-c9da435d3c952db59e8d0a3198ef23f48789672f.tar
forums-c9da435d3c952db59e8d0a3198ef23f48789672f.tar.gz
forums-c9da435d3c952db59e8d0a3198ef23f48789672f.tar.bz2
forums-c9da435d3c952db59e8d0a3198ef23f48789672f.tar.xz
forums-c9da435d3c952db59e8d0a3198ef23f48789672f.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12721] Update rules descriptions [ticket/12721] Add Generic.NamingConventions.ConstructorName in strict [ticket/12721] Add Squiz.Functions.LowercaseFunctionKeywords in legacy [ticket/12721] Add Squiz.ControlStructures.ForLoopDeclaration in legacy [ticket/12721] Add Squiz.ControlStructures.ForEachLoopDeclaration [ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy [ticket/12721] Add Generic.Functions.OpeningFunctionBraceBsdAllman [ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset [ticket/12721] Add Generic.Files.LowercasedFilename in the legacy ruleset
Diffstat (limited to 'phpBB/phpbb/search/fulltext_postgres.php')
-rw-r--r--phpBB/phpbb/search/fulltext_postgres.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/search/fulltext_postgres.php b/phpBB/phpbb/search/fulltext_postgres.php
index 49d528c8ba..bdb5a86009 100644
--- a/phpBB/phpbb/search/fulltext_postgres.php
+++ b/phpBB/phpbb/search/fulltext_postgres.php
@@ -263,12 +263,12 @@ class fulltext_postgres extends \phpbb\search\base
$this->search_query .= $word . ' ';
$this->tsearch_query .= '&' . substr($word, 1) . ' ';
}
- elseif (strpos($word, '-') === 0)
+ else if (strpos($word, '-') === 0)
{
$this->search_query .= $word . ' ';
$this->tsearch_query .= '&!' . substr($word, 1) . ' ';
}
- elseif (strpos($word, '|') === 0)
+ else if (strpos($word, '|') === 0)
{
$this->search_query .= $word . ' ';
$this->tsearch_query .= '|' . substr($word, 1) . ' ';