From 483319264c6f9d7299cea4f7a0cdf9edcb3d739e Mon Sep 17 00:00:00 2001 From: dartcafe Date: Sat, 23 May 2020 20:53:57 +0200 Subject: json fix --- lib/Db/Preferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Db/Preferences.php b/lib/Db/Preferences.php index db15d529..670260a3 100644 --- a/lib/Db/Preferences.php +++ b/lib/Db/Preferences.php @@ -55,7 +55,7 @@ class Preferences extends Entity implements JsonSerializable { 'id' => intval($this->id), 'userId' => $this->userId, 'timestamp' => intval($this->timestamp), - 'preferences' => $this->preferences, + 'preferences' => json_decode($this->preferences), ]; } } -- cgit v1.2.3