This commit is contained in:
Parziphal 2014-06-06 01:50:26 -05:00
parent b5fef62c19
commit a78944d3fb

View File

@ -125,7 +125,7 @@ class Post extends Rails\ActiveRecord\Base
->select("users.name, users.id")
->order("v.updated_at DESC")
->take()
->getAttributes('id', 'name') ?: array();
->getAttributes(['id', 'name']) ?: array();
}
}