diff --git a/extdbms/lib/Core/Model.php b/extdbms/lib/Core/Model.php index ba3d7ee..3c08536 100644 --- a/extdbms/lib/Core/Model.php +++ b/extdbms/lib/Core/Model.php @@ -14,8 +14,10 @@ abstract class Model private $_querys = []; private $_wheres = []; private $_lastQuery = ""; - protected function __construct() {} // - + protected function __construct() + { + $this->reset(); + } // abstract public function getTable(): string; abstract public function getPKField(): string; abstract public function getTitleField(): string;