Fixed issue #78.
This commit is contained in:
parent
b2c05f4c2b
commit
595b51c3bc
@ -125,7 +125,7 @@ class Post extends Rails\ActiveRecord\Base
|
|||||||
->select("users.name, users.id")
|
->select("users.name, users.id")
|
||||||
->order("v.updated_at DESC")
|
->order("v.updated_at DESC")
|
||||||
->take()
|
->take()
|
||||||
->getAttributes(['id', 'name']) ?: array();
|
->getAttributes('id', 'name') ?: array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user