mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
c2c979f118
commit
be900d6469
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user