mirror of
https://github.com/flarum/core.git
synced 2025-07-25 02:31:17 +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)
|
||||
{
|
||||
return json_decode($value);
|
||||
return json_decode($value, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user