Fix index of sipAddress sipPhones sipEmails

This commit is contained in:
REIS Benjamin 2016-10-19 15:06:11 +02:00
parent fed56fca51
commit 34e12d208f

View file

@ -350,7 +350,7 @@
UIContactDetailsCell *cell = (UIContactDetailsCell *)view;
// we cannot use indexPathForCell method here because if the cell is not visible anymore,
// it will return nil..
NSIndexPath *path = cell.indexPath; // [self.tableView indexPathForCell:cell];
NSIndexPath *path = [self.tableView indexPathForCell:cell]; // [self.tableView indexPathForCell:cell];
ContactSections sect = (ContactSections)[path section];
NSString *value = [textField text];