diff --git a/src/Persistence/Array_/Action.php b/src/Persistence/Array_/Action.php index b181a84cfa..e5af81c756 100644 --- a/src/Persistence/Array_/Action.php +++ b/src/Persistence/Array_/Action.php @@ -277,6 +277,7 @@ public function count() */ public function exists() { + $this->generator->rewind(); $this->generator = new \ArrayIterator([[$this->generator->valid() ? 1 : 0]]); return $this;