Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-05-23 21:53:57 +0300
committerdartcafe <github@dartcafe.de>2020-08-31 09:17:12 +0300
commit483319264c6f9d7299cea4f7a0cdf9edcb3d739e (patch)
treecc57ea99c57b8d68c14b005d4ee6b8bd5be03de4 /lib
parent960bf5d3c8a91a51b46a6752ef9872ceea03ab22 (diff)
json fix
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/Preferences.php2
1 files changed, 1 insertions, 1 deletions
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),
];
}
}