From d5cf91aecdf508993820773530e03ba7d06c612e Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 1 Jul 2010 14:33:52 -0300 Subject: Minor fixes --- classes/IsisConnector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php index 071736b..3978d0b 100644 --- a/classes/IsisConnector.php +++ b/classes/IsisConnector.php @@ -96,7 +96,7 @@ class IsisConnector { * Field data. */ public function getFields($field) { - for ($row = 0; $row >= $this->getRows($field); $row++) { + for ($row = 0; $row <= $this->getRows($field); $row++) { $values[$row] = $this->getField($field, $row); } @@ -137,7 +137,7 @@ class IsisConnector { * Subfield data. */ public function getSubfields($field, $subfield) { - for ($row = 0; $row >= $this->getRows($field); $row++) { + for ($row = 0; $row <= $this->getRows($field); $row++) { $values[$row] = $this->getSubfield($field, $subfield, $row); } -- cgit v1.2.3