projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a08c08
)
Use getValue() (Bug #9196).
author
Jan Schneider
<jan@horde.org>
Mon, 20 Sep 2010 16:58:40 +0000
(18:58 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 20 Sep 2010 16:58:40 +0000
(18:58 +0200)
framework/Auth/lib/Horde/Auth/Ldap.php
patch
|
blob
|
history
diff --git
a/framework/Auth/lib/Horde/Auth/Ldap.php
b/framework/Auth/lib/Horde/Auth/Ldap.php
index
96b2066
..
f9af827
100644
(file)
--- a/
framework/Auth/lib/Horde/Auth/Ldap.php
+++ b/
framework/Auth/lib/Horde/Auth/Ldap.php
@@
-390,11
+390,10
@@
class Horde_Auth_Ldap extends Horde_Auth_Base
$search = $this->_ldap->search(
$this->_params['basedn'],
Horde_Ldap_Filter::build(array('filter' => $this->_params['filter'])),
- $params)
- ->asArray();
+ $params);
$uid = Horde_String::lower($this->_params['uid']);
foreach ($search as $val) {
- $userlist[] = $val
[$uid][0]
;
+ $userlist[] = $val
->getValue($uid, 'single')
;
}
} catch (Horde_Ldap_Exception $e) {}