From 5eeabb67d7fa82ac230bb1a323ca3204d59b9915 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 31 Mar 2010 12:24:53 -0300 Subject: Adding classe CinIsis --- classes/MaleteDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/MaleteDb.php') diff --git a/classes/MaleteDb.php b/classes/MaleteDb.php index 0628e9e..a2d45aa 100644 --- a/classes/MaleteDb.php +++ b/classes/MaleteDb.php @@ -71,11 +71,11 @@ class MaleteDb implements IsisDb { * @see IsisDb::read() */ public function rows() { - $id = 1; + $id = 0; while($this->db->read($id)) { $id++; } - return $id - 1; + return $id; } /** -- cgit v1.2.3