mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 05:38:03 +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)
|
public function getContentAttribute($value)
|
||||||
{
|
{
|
||||||
return json_decode($value);
|
return json_decode($value, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user