1
0
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:
Toby Zerner
2015-05-06 11:24:02 +09:30
parent 591de0b4c2
commit abf49fd07a

View File

@@ -12,7 +12,7 @@ abstract class ActivityPost extends Post implements MergeableInterface
*/
public function getContentAttribute($value)
{
return json_decode($value);
return json_decode($value, true);
}
/**