aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/postgres.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db/postgres.php')
-rw-r--r--phpBB/includes/db/postgres.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php
index eb8c931fa5..d9e8bc2bfa 100644
--- a/phpBB/includes/db/postgres.php
+++ b/phpBB/includes/db/postgres.php
@@ -222,7 +222,7 @@ class dbal_postgres extends dbal
*/
function sql_affectedrows()
{
- return ($this->query_result) ? @pg_cmdtuples($this->query_result) : false;
+ return ($this->query_result) ? @pg_affected_rows($this->query_result) : false;
}
/**