Fixed issue #78.

This commit is contained in:
Parziphal 2014-05-26 08:31:17 -05:00
parent b2c05f4c2b
commit 595b51c3bc

View File

@ -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();
} }
} }