mirror of
https://github.com/prurigro/hypothetical.git
synced 2025-04-12 08:41:33 -04:00
Send a new instance of the model_class with the getModel function so the __constructor is run if one exists (allowing variable $dashboard_columns data)
This commit is contained in:
parent
c03d2fc659
commit
7e629af810
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Dashboard
|
|||
return null;
|
||||
}
|
||||
|
||||
return $model_class;
|
||||
return new $model_class;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue