Fix for bugscape 11772. Reset the phone number arrays after the numbers are parsed and copied to an address card object. r=ducarroz, sr=mscott.

This commit is contained in:
cavin%netscape.com 2002-01-31 23:25:04 +00:00
parent c2c979f118
commit be900d6469

View File

@ -2884,6 +2884,10 @@ nsAbSync::ProcessPhoneNumbersTheyAreSpecial(nsIAbCard *aCard)
aCard->SetCellularNumber(phoneNumber.get());
}
// Reset the phone arrays for next card.
mPhoneValues->Clear();
mPhoneTypes->Clear();
return NS_OK;
}