mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +00:00
Added extra check in SOGoToolBackup.m to avoid breaking on broken sogo_folder_info data
Monotone-Parent: 4b7f399fbc3a148bb537b71896b85b75569d5f5f Monotone-Revision: 7b6c0dbf0ad6e6acc3aff1ca99e36772eba250dc Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-03T10:49:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -277,6 +277,13 @@
|
||||
// forKey: @"displayname"];
|
||||
records = [gcsFolder fetchFields: fields
|
||||
fetchSpecification: nil];
|
||||
|
||||
if (!records)
|
||||
{
|
||||
NSLog(@"Unable to extract records for folder %@", folder);
|
||||
return NO;
|
||||
}
|
||||
|
||||
[tableRecord setObject: records forKey: @"records"];
|
||||
[tableRecord setObject: [self fetchFolderDisplayName: folder
|
||||
withFM: fm]
|
||||
|
||||
Reference in New Issue
Block a user