aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-07-01 14:33:52 -0300
committerSilvio <silvio@devlet.com.br>2010-07-01 14:33:52 -0300
commitd5cf91aecdf508993820773530e03ba7d06c612e (patch)
tree82563ae454a84e08a94da24e9193b98148d34dd0 /classes
parentd5762ebb744f5b4873e6ad779d96b694c8f0839f (diff)
downloadcinisis-d5cf91aecdf508993820773530e03ba7d06c612e.tar.gz
cinisis-d5cf91aecdf508993820773530e03ba7d06c612e.tar.bz2
Minor fixes
Diffstat (limited to 'classes')
-rw-r--r--classes/IsisConnector.php4
1 files 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);
}