From 52be1875ee7ee29ecf851ab33e9b92e97657a851 Mon Sep 17 00:00:00 2001 From: sparc Date: Mon, 3 Oct 2005 18:55:38 +0000 Subject: affectedRows fix git-svn-id: https://svn.roundcube.net/trunk@15 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_db.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/include/rcube_db.inc b/roundcubemail/program/include/rcube_db.inc index 87cb869f8..96f120f3c 100755 --- a/roundcubemail/program/include/rcube_db.inc +++ b/roundcubemail/program/include/rcube_db.inc @@ -142,7 +142,7 @@ class rcube_db if (!$this->db_handle) return FALSE; - return $this->last_res_id->affectedRows(); + return $this->db_handle->affectedRows(); } function insert_id($sequence = '') -- cgit v1.2.3