Fix bug 303301 LDAP only works for attributes that are specified in lower case. r/sr=dmose, a=cbeard

This commit is contained in:
bugzilla%standard8.demon.co.uk 2005-08-10 16:46:52 +00:00
parent 3e92638259
commit 7bc9db9f67

View File

@ -169,6 +169,8 @@ nsAbLDAPAttributeMap.prototype = {
// go through the list of possible attrs in precedence order
for each (var attr in this.mPropertyMap[prop]) {
attr = attr.toLowerCase();
// find the first attr that exists in this message
if (msgAttrs.indexOf(attr) != -1) {