feature/slug-handling #18
@ -41,7 +41,7 @@ abstract class Model
|
||||
{
|
||||
$array = [];
|
||||
|
||||
foreach (self::getFields() as $key) {
|
||||
foreach (static::getFields() as $key) {
|
||||
$method = 'get' . str_replace('_', '', ucwords($key, '_'));
|
||||
|
||||
if (method_exists($this, $method)) {
|
||||
|
Loading…
Reference in New Issue
Block a user