Init iterator key with 0

This commit is contained in:
Thomas Bruederli 2014-02-07 09:30:08 +01:00
parent 1daa305faa
commit 449b4d044a

View file

@ -31,7 +31,7 @@ class kolab_storage_dataset implements Iterator, ArrayAccess, Countable
private $buffer = false;
private $index = array();
private $data = array();
private $iteratorkey = -1;
private $iteratorkey = 0;
/**
* Default constructor