]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix compatibility with 5.4 again
authorLukas Reschke <lukas@owncloud.com>
Mon, 1 Jun 2015 15:24:58 +0000 (17:24 +0200)
committerLukas Reschke <lukas@owncloud.com>
Mon, 1 Jun 2015 15:24:58 +0000 (17:24 +0200)
Fixes https://github.com/owncloud/core/issues/16665

apps/user_ldap/group_ldap.php

index 0d39b74bbe8c423a96093903dc83addeff9027bd..fd7a904d3db27ec8669c9bc6666a060ae79d95aa 100644 (file)
@@ -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(