Init iterator key with 0
This commit is contained in:
parent
1daa305faa
commit
449b4d044a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class kolab_storage_dataset implements Iterator, ArrayAccess, Countable
|
||||||
private $buffer = false;
|
private $buffer = false;
|
||||||
private $index = array();
|
private $index = array();
|
||||||
private $data = array();
|
private $data = array();
|
||||||
private $iteratorkey = -1;
|
private $iteratorkey = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default constructor
|
* Default constructor
|
||||||
|
|
Loading…
Add table
Reference in a new issue