From 5288d2bd1572f6c1f59ba87bb111ba9344f2f9a9 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 8 Apr 2010 15:56:59 -0300 Subject: Minor fixes --- classes/PhpIsisDb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/PhpIsisDb.php') diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php index c568743..9e885d9 100644 --- a/classes/PhpIsisDb.php +++ b/classes/PhpIsisDb.php @@ -49,7 +49,7 @@ class PhpIsisDb implements IsisDb { */ public function read($id) { $results = isis_search('$', $this->db); - if (!isis_data_seek($results, $id)) { + if (!isis_data_seek($results, $id-1)) { return FALSE; } -- cgit v1.2.3