aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/postgres.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-29 00:00:00 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-29 00:00:00 +0100
commit59e3c2d16e5fa3eb6f1a872657454b437b72ae63 (patch)
tree4b73ff239faac9125c1998eba0de8d8e607041d4 /phpBB/phpbb/db/driver/postgres.php
parented94e3c5761cc188fc6e1e7943a888d30bd0e7b9 (diff)
parent7f58a4572eaca75aecff2da889e67ea151616011 (diff)
downloadforums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.gz
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.bz2
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.xz
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.zip
Merge remote-tracking branch 'marc1706/ticket/11981' into develop
* marc1706/ticket/11981: [ticket/11981] Fix code sniffer complaints
Diffstat (limited to 'phpBB/phpbb/db/driver/postgres.php')
-rw-r--r--phpBB/phpbb/db/driver/postgres.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/driver/postgres.php b/phpBB/phpbb/db/driver/postgres.php
index 9cbb1ecb07..5cd6578d87 100644
--- a/phpBB/phpbb/db/driver/postgres.php
+++ b/phpBB/phpbb/db/driver/postgres.php
@@ -328,7 +328,7 @@ class postgres extends \phpbb\db\driver\driver
return false;
}
- $temp_result = @pg_fetch_assoc($temp_q_id, NULL);
+ $temp_result = @pg_fetch_assoc($temp_q_id, null);
@pg_free_result($query_id);
return ($temp_result) ? $temp_result['last_value'] : false;
@@ -456,7 +456,7 @@ class postgres extends \phpbb\db\driver\driver
if ($result = @pg_query($this->db_connect_id, "EXPLAIN $explain_query"))
{
- while ($row = @pg_fetch_assoc($result, NULL))
+ while ($row = @pg_fetch_assoc($result, null))
{
$html_table = $this->sql_report('add_select_row', $query, $html_table, $row);
}
@@ -476,7 +476,7 @@ class postgres extends \phpbb\db\driver\driver
$endtime = $endtime[0] + $endtime[1];
$result = @pg_query($this->db_connect_id, $query);
- while ($void = @pg_fetch_assoc($result, NULL))
+ while ($void = @pg_fetch_assoc($result, null))
{
// Take the time spent on parsing rows into account
}