diff --git a/Database/Base/AbstractCollection.php b/Database/Base/AbstractCollection.php index 05575d48..33a1a5d5 100644 --- a/Database/Base/AbstractCollection.php +++ b/Database/Base/AbstractCollection.php @@ -116,6 +116,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat { if (!is_object($this->model)) { $this->model = $this->model::populate([]); + $this->model->setIsCreate(false); } return $this->model; }