MantisBT: master-1.2.x 40807864

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2011-09-19 23:04 master-1.2.x 6a1760b8
Affected Issues  0013331: Email lookup against non-existing LDAP account displays warning
Changeset

Fix error handling in ldap_get_field_from_username

When successful, ldap_get_entries always returns an array with at least
one element inside (the count), so the check for no matches was always
successful even when no values were retrieved from LDAP.

Fixes 0013331

mod - core/ldap_api.php Diff File