From d3d42bde2a5d5e2c7915ee30b79dfde132feaed7 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Mon, 03 Oct 2005 14:55:38 -0400
Subject: [PATCH] 

---
 program/include/rcube_db.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_db.inc b/program/include/rcube_db.inc
index 87cb869..96f120f 100755
--- a/program/include/rcube_db.inc
+++ b/program/include/rcube_db.inc
@@ -142,7 +142,7 @@
         if (!$this->db_handle)
             return FALSE;
     
-        return $this->last_res_id->affectedRows();
+        return $this->db_handle->affectedRows();
     }
 
     function insert_id($sequence = '')

--
Gitblit v1.9.1