mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy
PHPBB3-12721
This commit is contained in:
@@ -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) . ' ';
|
||||
|
Reference in New Issue
Block a user