From 7fca37bb8359743202136acfc09d615f29de92ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 8 Sep 2020 01:24:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Base/AbstractCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Base/AbstractCollection.php b/Database/Base/AbstractCollection.php index 510247f8..0f29d4ae 100644 --- a/Database/Base/AbstractCollection.php +++ b/Database/Base/AbstractCollection.php @@ -89,7 +89,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat */ public function getIterator() { - return new CollectionIterator($this->model, $this->_item); + return new CollectionIterator($this->model, $this->query, $this->_item); } /**