mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
Fix content attribute decoding into an object
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user