mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Fix content attribute decoding into an object
This commit is contained in:
parent
591de0b4c2
commit
abf49fd07a
|
@ -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