diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-06 15:21:20 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-06 15:21:20 +0000 |
commit | 6812929e377b4a08adf571732f7b533f153eff04 (patch) | |
tree | 3ec219645f2e03bab63f0e5666f26fb1c717833c /phpBB/db/mysql.php | |
parent | fc1aed076ed6deeebdf105571e20662b0d55625c (diff) | |
download | forums-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.php | 7 |
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) |