Bug 1079959 - Google import fails if a contact contains a physical address r=mikedeboer

This commit is contained in:
Adam Roach [:abr] 2014-10-08 11:42:45 -05:00
parent a73b8d0ae1
commit 3386c3751e

View File

@ -425,7 +425,7 @@ this.GoogleImporter.prototype = {
if (Object.keys(adr).length) {
adr.pref = (addressNode.getAttribute("primary") == "true");
adr.type = [getFieldType(addressNode)];
contacts.adr.push(adr);
contact.adr.push(adr);
}
}
}