Fix content attribute decoding into an object

This commit is contained in:
Toby Zerner 2015-05-06 11:24:02 +09:30
parent e7ff776001
commit 92c1ee26c8

View File

@ -12,7 +12,7 @@ abstract class ActivityPost extends Post implements MergeableInterface
*/
public function getContentAttribute($value)
{
return json_decode($value);
return json_decode($value, true);
}
/**