summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-01 08:59:55 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-01 08:59:55 +0100
commit21e9c6d1d06d449a7523bab8fa9feff2d4ebd647 (patch)
treef0eb826b14f86c4a46a09a3ea61870846b1eacc6 /apps/user_ldap
parent3ada5c02a68061a33c82ff74ba8b8f899de43b4c (diff)
parente4ad4c7e98071aba36a25b407faab481d633c787 (diff)
downloadnextcloud-server-21e9c6d1d06d449a7523bab8fa9feff2d4ebd647.tar.gz
nextcloud-server-21e9c6d1d06d449a7523bab8fa9feff2d4ebd647.zip
Merge pull request #21999 from owncloud/properly-decode-cached-objects
[user_ldap] properly decode cached objects
Diffstat (limited to 'apps/user_ldap')
-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 97bb13c5f79..addd7d0b51d 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -206,7 +206,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);
}
/**