From 3aa02568ee773d53d9d506f153156208a034b48c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 15 Mar 2011 10:10:52 +0100 Subject: [PATCH] fixed 'division by zero' issue --- lib/Interpreter/DataIterator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Interpreter/DataIterator.php b/lib/Interpreter/DataIterator.php index 618f975..2c74816 100644 --- a/lib/Interpreter/DataIterator.php +++ b/lib/Interpreter/DataIterator.php @@ -91,6 +91,7 @@ class DataIterator implements \Iterator, \Countable { */ public function rewind() { $this->key = $this->rowKey = 0; + return $this->next(); } public function valid() {