mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05: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 null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $model_class;
|
return new $model_class;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue