FIX: not reseting
This commit is contained in:
@ -27,6 +27,7 @@ class Model {
|
||||
if (!class_exists($model_class)) {
|
||||
throw new \InvalidArgumentException('El modelo ' . $model_class . ' no existe.');
|
||||
}
|
||||
$this->reset();
|
||||
$this->class = $model_class;
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user