aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/search/fulltext_postgres.php4
-rw-r--r--phpBB/search.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index 1e10e2d043..79c8035438 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -49,7 +49,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
{
$pgsql_version = explode(',', substr($db->sql_server_info(), 10));
$this->version = trim($pgsql_version[0]);
- if(version_compare($this->version, '8.3', '>='))
+ if (version_compare($this->version, '8.3', '>='))
{
$this->tsearch_usable = true;
}
@@ -752,7 +752,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
{
global $db, $config;
- if($db->sql_layer != 'postgres')
+ if ($db->sql_layer != 'postgres')
{
$this->stats = array();
return;
diff --git a/phpBB/search.php b/phpBB/search.php
index 0d13644b02..0187995f75 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -596,7 +596,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
$u_search .= ($search_fields != 'all') ? '&sf=' . $search_fields : '';
$u_search .= ($return_chars != 300) ? '&ch=' . $return_chars : '';
- //check if search backend supports phrase search or not
+ // Check if search backend supports phrase search or not
$l_phrase_search_disabled = '';
if (strpos(html_entity_decode($keywords), '"') !== false && isset($search->phrase_search))
{