aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/config/db_text.php
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/config/db_text.php
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/config/db_text.php')
-rw-r--r--phpBB/phpbb/config/db_text.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/config/db_text.php b/phpBB/phpbb/config/db_text.php
index ddc7c9aef0..818f6bdcc9 100644
--- a/phpBB/phpbb/config/db_text.php
+++ b/phpBB/phpbb/config/db_text.php
@@ -100,9 +100,9 @@ class db_text
$sql = 'UPDATE ' . $this->table . "
SET config_value = '" . $this->db->sql_escape($value) . "'
WHERE config_name = '" . $this->db->sql_escape($key) . "'";
- $result = $this->db->sql_query($sql);
+ $this->db->sql_query($sql);
- if (!$this->db->sql_affectedrows($result))
+ if (!$this->db->sql_affectedrows())
{
$sql = 'INSERT INTO ' . $this->table . ' ' . $this->db->sql_build_array('INSERT', array(
'config_name' => (string) $key,