From e4ad4c7e98071aba36a25b407faab481d633c787 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 29 Jan 2016 07:51:16 +0100 Subject: [PATCH] [user_ldap] properly decode cached objects * fixes #21896 --- apps/user_ldap/lib/connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**