auth/ldap: better handling of empty values from ldap

This commit is contained in:
martinlanghoff
2006-05-30 00:42:53 +00:00
parent b4c8301258
commit 4c74601224
+3 -1
View File
@@ -144,7 +144,9 @@ function auth_get_userinfo($username){
$ldapval = $newval;
}
}
$result[$key] = $ldapval;
if (!is_null($ldapval)) {
$result[$key] = $ldapval;
}
}
}