summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/access.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-10-01 11:55:53 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-10-01 11:55:53 +0200
commit6c502e11f8a199bfbcda833efb2e16497895ae42 (patch)
tree25606021c9ff399f7e7c6b9f7bb6af190d0e2c1a /apps/user_ldap/lib/access.php
parentf9e085b020e73b1cae350823b0d108b7b122cc56 (diff)
downloadnextcloud-server-6c502e11f8a199bfbcda833efb2e16497895ae42.tar.gz
nextcloud-server-6c502e11f8a199bfbcda833efb2e16497895ae42.zip
make scrutinizer happy, very minor changes
Diffstat (limited to 'apps/user_ldap/lib/access.php')
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 68641b7a298..159b0d73000 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -97,7 +97,7 @@ class Access extends LDAPUtility implements user\IUserTools {
$this->abandonPagedSearch();
// openLDAP requires that we init a new Paged Search. Not needed by AD,
// but does not hurt either.
- $this->initPagedSearch($filter, array($dn), $attr, 1, 0);
+ $this->initPagedSearch($filter, array($dn), array($attr), 1, 0);
$dn = $this->DNasBaseParameter($dn);
$rr = @$this->ldap->read($cr, $dn, $filter, array($attr));
if(!$this->ldap->isResource($rr)) {