summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-11 18:52:50 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-11 18:52:50 +0100
commit5bbf8eda23c290a7566b607b7f596336f0b36fe3 (patch)
tree33aaa8c0d8a7bbaecef2210f29745416c876475e /apps
parentaef1def9bef4092c841b2b1786045a7ca58f3323 (diff)
parent7f327ab5abc2a7558db656f39888803a39e24d12 (diff)
downloadnextcloud-server-5bbf8eda23c290a7566b607b7f596336f0b36fe3.tar.gz
nextcloud-server-5bbf8eda23c290a7566b607b7f596336f0b36fe3.zip
Merge pull request #22040 from owncloud/stable8.2-backport-21999
[stable8.2] [user_ldap] properly decode cached objects
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php
index 71f76d321cf..e0ee4d5780b 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -207,7 +207,7 @@ class Connection extends LDAPUtility {
}
$key = $this->getCacheKey($key);
- return json_decode(base64_decode($this->cache->get($key)));
+ return json_decode(base64_decode($this->cache->get($key)), true);
}
/**