summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-29 07:51:16 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-29 07:51:16 +0100
commite4ad4c7e98071aba36a25b407faab481d633c787 (patch)
tree43ccfcf31d9e3a551df8d9b53b6125b83d5409b9
parent476720ada9f0997bdef7407f8ef15c2c50866011 (diff)
downloadnextcloud-server-e4ad4c7e98071aba36a25b407faab481d633c787.tar.gz
nextcloud-server-e4ad4c7e98071aba36a25b407faab481d633c787.zip
[user_ldap] properly decode cached objects
* fixes #21896
-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);
}
/**