aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-06-26 01:27:14 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2012-07-05 21:17:26 +0530
commitbc699f66cf8c4f043f3b62da5e50c3acf198084e (patch)
treee2abcd16c47435465017eae2fb4da153c89513a3 /phpBB/includes
parentdfbd32ce24a1ecf5003d21f31949d3269145cc55 (diff)
downloadforums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar.gz
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar.bz2
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar.xz
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.zip
[feature/postgresql-fulltext-search] fix formatting
adds proper spaces after control keywords and comment symbol PHPBB3-9730
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/search/fulltext_postgres.php4
1 files changed, 2 insertions, 2 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;