Skip to content

Commit

Permalink
Corrected some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
paca70 committed Aug 18, 2003
1 parent 5ca0385 commit c46b0a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auth/ldap/lib.php
Expand Up @@ -79,7 +79,7 @@ function auth_get_userinfo($username){
$search_attribs = array();

foreach ($attrmap as $key=>$value) {
if (!in_array($value, $search_attribs) {
if (!in_array($value, $search_attribs)) {
array_push($search_attribs, $value);
}
}
Expand All @@ -95,8 +95,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]strtolower([$value])[0])){
$result[$key]=$user_entry[0]strtolower([$value])[0];
if(isset($user_entry[0][strtolower($value)][0])){
$result[$key]=$user_entry[0][strtolower($value)][0];
}
}
}
Expand Down

0 comments on commit c46b0a2

Please sign in to comment.