Browse files

check results instead of records

  • Loading branch information...
1 parent eecc581 commit 87bd1efec93d1b66ea16d390d60c37cf63107189 Erik Aigner committed Oct 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 COPeoplePickerViewController/COPeoplePickerViewController.m
View
2 COPeoplePickerViewController/COPeoplePickerViewController.m
@@ -221,7 +221,7 @@ - (void)tokenField:(COTokenField *)tokenField updateAddressBookSearchResults:(NS
self.discreteSearchResults = [NSArray arrayWithArray:results];
// Update the table
- if (records.count > 0) {
+ if (results.count > 0) {
self.searchTableView.hidden = NO;
[self.searchTableView reloadData];
}

0 comments on commit 87bd1ef

Please sign in to comment.