aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-08-19 16:12:01 -0700
committerMatt Friedman <maf675@gmail.com>2015-08-19 16:12:01 -0700
commit50a7167c9a76404a1e3cfb207b303920ce2b3827 (patch)
tree602329358e75c43ec3a3bfbfbc824e17690daa99 /phpBB/phpbb/db
parentdead984f5456c3de5e5837680a61272289ce4a15 (diff)
downloadforums-50a7167c9a76404a1e3cfb207b303920ce2b3827.tar
forums-50a7167c9a76404a1e3cfb207b303920ce2b3827.tar.gz
forums-50a7167c9a76404a1e3cfb207b303920ce2b3827.tar.bz2
forums-50a7167c9a76404a1e3cfb207b303920ce2b3827.tar.xz
forums-50a7167c9a76404a1e3cfb207b303920ce2b3827.zip
[ticket/14116] sql_affectedrows method has no arguments
PHPBB3-14116
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/driver/driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/driver/driver.php b/phpBB/phpbb/db/driver/driver.php
index 9fc04d47a1..1b49775b32 100644
--- a/phpBB/phpbb/db/driver/driver.php
+++ b/phpBB/phpbb/db/driver/driver.php
@@ -962,7 +962,7 @@ abstract class driver implements driver_interface
{
if (preg_match('/^(UPDATE|DELETE|REPLACE)/', $query))
{
- $this->sql_report .= 'Affected rows: <b>' . $this->sql_affectedrows($this->query_result) . '</b> | ';
+ $this->sql_report .= 'Affected rows: <b>' . $this->sql_affectedrows() . '</b> | ';
}
$this->sql_report .= 'Before: ' . sprintf('%.5f', $this->curtime - $starttime) . 's | After: ' . sprintf('%.5f', $endtime - $starttime) . 's | Elapsed: <b>' . sprintf('%.5f', $endtime - $this->curtime) . 's</b>';
}