aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mysql.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-06 15:21:20 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-06 15:21:20 +0000
commit6812929e377b4a08adf571732f7b533f153eff04 (patch)
tree3ec219645f2e03bab63f0e5666f26fb1c717833c /phpBB/db/mysql.php
parentfc1aed076ed6deeebdf105571e20662b0d55625c (diff)
downloadforums-6812929e377b4a08adf571732f7b533f153eff04.tar
forums-6812929e377b4a08adf571732f7b533f153eff04.tar.gz
forums-6812929e377b4a08adf571732f7b533f153eff04.tar.bz2
forums-6812929e377b4a08adf571732f7b533f153eff04.tar.xz
forums-6812929e377b4a08adf571732f7b533f153eff04.zip
This bug courteousy of "The Idiot Song" (c) P. Owen : All Rights Reserved
git-svn-id: file:///svn/phpbb/trunk@2825 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/mysql.php')
-rw-r--r--phpBB/db/mysql.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php
index b5c8e0e33d..ef2e52aa5b 100644
--- a/phpBB/db/mysql.php
+++ b/phpBB/db/mysql.php
@@ -216,12 +216,7 @@ class sql_db
function sql_affectedrows()
{
- if ( !$query_id )
- {
- $query_id = $this->query_result;
- }
-
- return ( $query_id ) ? @mysql_affected_rows($query_id) : false;
+ return ( $this->db_connect_id ) ? @mysql_affected_rows($this->db_connect_id) : false;
}
function sql_fetchrow($query_id = 0)