diff --git a/src/Libs/Model.php b/src/Libs/Model.php index 0161e0f..3cbbfad 100644 --- a/src/Libs/Model.php +++ b/src/Libs/Model.php @@ -423,6 +423,7 @@ class Model protected function update(): void { $atts = $this->getVars(); + static::$dbQueryVariables = []; foreach ($atts as $key => $value) { if (isset($value)) { @@ -457,6 +458,7 @@ class Model $atts = $this->getVars(); $into = []; $values = []; + static::$dbQueryVariables = []; foreach ($atts as $key => $value) { if (isset($value)) {