From 877902dfba32253f35c2148a3852ad0ebed0eadd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Mon, 3 Mar 2008 08:47:22 +0000 Subject: [PATCH] renamed variable to be attributes, which is what it is git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@339 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Auth/LDAP.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/SimpleSAML/Auth/LDAP.php b/lib/SimpleSAML/Auth/LDAP.php index a0c51e112..b7642b994 100644 --- a/lib/SimpleSAML/Auth/LDAP.php +++ b/lib/SimpleSAML/Auth/LDAP.php @@ -97,13 +97,13 @@ class SimpleSAML_Auth_LDAP { /** * Search DN for attributes, and return associative array. */ - public function getAttributes($dn, $search) { + public function getAttributes($dn, $attributes) { - $searchtxt = (is_array($search) ? join(',', $search) : 'all attributes'); + $searchtxt = (is_array($attributes) ? join(',', $attributes) : 'all attributes'); SimpleSAML_Logger::debug('Library - LDAP: Get attributes from ' . $dn . ' (' . $searchtxt . ')'); if (is_array($search)) - $sr = @ldap_read($this->ldap, $dn, 'objectClass=*', $search ); + $sr = @ldap_read($this->ldap, $dn, 'objectClass=*', $attributes ); else $sr = @ldap_read($this->ldap, $dn, 'objectClass=*'); -- GitLab