Permalink
Browse files

Fix from Martin Wwellard to fix PHPs case issue with attribute names.

  • Loading branch information...
1 parent 4398d02 commit da7b210a75aa97c716dbe8d53d799f2686eb9ecb paca70 committed Aug 3, 2003
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/ldap/lib.php
View
@@ -93,8 +93,8 @@ function auth_get_userinfo($username){
if ($user_info_result) {
$user_entry = ldap_get_entries($ldap_connection, $user_info_result);
foreach ($attrmap as $key=>$value){
- if(isset($user_entry[0][$value][0])){
- $result[$key]=$user_entry[0][$value][0];
+ if(isset($user_entry[0]strtolower([$value])[0])){
+ $result[$key]=$user_entry[0]strtolower([$value])[0];
}
}
}

0 comments on commit da7b210

Please sign in to comment.