From fd90996b27286d044175b60c10417ae74d638d2d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 16 Dec 2006 23:56:00 +0000 Subject: [PATCH] Affected rows uses the dblink not the result ID --- DbMySql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DbMySql.php b/DbMySql.php index e41a7f3..a4cfd9f 100644 --- a/DbMySql.php +++ b/DbMySql.php @@ -28,7 +28,7 @@ require_once('ISSO/Db.php'); /** -* MySQL Database Abstraction Layer +* MySQL Database Layer * * This framework is a function wrapper for MySQL functions so we can have * better error reporting and query reporting. @@ -183,7 +183,7 @@ class BSDbMySql extends BSDb */ protected function _affectedRows($result) { - return mysql_affected_rows($result); + return mysql_affected_rows($this->dblink); } // ################################################################### -- 2.22.5