mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 01:15:56 +08:00
Fix content attribute decoding into an object
This commit is contained in:
parent
e7ff776001
commit
92c1ee26c8
|
@ -12,7 +12,7 @@ abstract class ActivityPost extends Post implements MergeableInterface
|
|||
*/
|
||||
public function getContentAttribute($value)
|
||||
{
|
||||
return json_decode($value);
|
||||
return json_decode($value, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user