See ChangeLog

Monotone-Parent: b5d91e74f183ad54e2362119b25b4556f810e3b6
Monotone-Revision: fa6f3f2b467eaa14a01fb8a7dc2aee1e5e4191da

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-31T14:51:18
This commit is contained in:
Ludovic Marcotte
2012-05-31 14:51:18 +00:00
parent f2b455fffc
commit ed67384586
3 changed files with 11 additions and 2 deletions
+6
View File
@@ -422,8 +422,14 @@ static NSArray *infoKeys = nil;
folderContainer = (SOGoContactFolders *) [[[self clientObject] lookupUserFolder] privateContacts: @"Contacts"
inContext: nil];
folder = [folderContainer lookupPersonalFolder: @"personal" ignoringRights: YES];
// If the folder doesn't exist anymore or if the database is down, we
// return an empty array.
if ([folder isKindOfClass: [NSException class]])
return [NSArray array];
contactInfos = [folder lookupContactsWithFilter: nil
onCriteria: nil
sortBy: @"c_cn"