diff options
author | Silvio <silvio@devlet.com.br> | 2010-03-31 12:24:53 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-03-31 12:24:53 -0300 |
commit | 5eeabb67d7fa82ac230bb1a323ca3204d59b9915 (patch) | |
tree | a4294640a79931744d8e60e9f20716e943b05d90 /classes/MaleteDb.php | |
parent | a39fb6bd4670137a4d682403bf80dd5d1b50ada2 (diff) | |
download | cinisis-5eeabb67d7fa82ac230bb1a323ca3204d59b9915.tar.gz cinisis-5eeabb67d7fa82ac230bb1a323ca3204d59b9915.tar.bz2 |
Adding classe CinIsis
Diffstat (limited to 'classes/MaleteDb.php')
-rw-r--r-- | classes/MaleteDb.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } /** |