From 9b05d22b0c775719c53d9cd42b5bf146084f5c32 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 1 Jun 2015 17:24:58 +0200 Subject: [PATCH] Fix compatibility with 5.4 again Fixes https://github.com/owncloud/core/issues/16665 --- apps/user_ldap/group_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php index 0d39b74bbe8..fd7a904d3db 100644 --- a/apps/user_ldap/group_ldap.php +++ b/apps/user_ldap/group_ldap.php @@ -262,7 +262,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface { throw new \Exception('Not a valid group'); } - $filterParts = []; + $filterParts = array(); // part for counting users (see countUsers in user backend) // it is consolidated in OC 8. No big changes for OC 7. $filterParts[] = \OCP\Util::mb_str_replace( -- 2.39.5