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
This commit is contained in:
Paul S. Owen 2002-08-06 15:21:20 +00:00
parent fc1aed076e
commit 6812929e37

View file

@ -216,12 +216,7 @@ class sql_db
function sql_affectedrows() function sql_affectedrows()
{ {
if ( !$query_id ) return ( $this->db_connect_id ) ? @mysql_affected_rows($this->db_connect_id) : false;
{
$query_id = $this->query_result;
}
return ( $query_id ) ? @mysql_affected_rows($query_id) : false;
} }
function sql_fetchrow($query_id = 0) function sql_fetchrow($query_id = 0)