Bug #5604 - LDAP error notice when users update profile; merged from MOODEL_16_STABLE

This commit is contained in:
skodak
2006-05-24 21:12:46 +00:00
parent 343296bf6a
commit f2b5a58a0f
+1 -1
View File
@@ -838,7 +838,7 @@ function auth_user_update($olduser, $newuser) {
if ($user_info_result){
$user_entry = auth_ldap_get_entries($ldapconnection, $user_info_result);
if (count($user_entry)) {
if (count($user_entry) > 1) {
trigger_error("ldap: Strange! More than one user record found in ldap. Only using the first one.");
}
$user_entry = $user_entry[0];