diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 617e52f33..d9cd1c089 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -631,6 +631,7 @@ static int davCalendarStartTimeLimit, davTimeLimitSeconds, sql = [NSString stringWithFormat: @"%@%@%@%@", dateSqlString, titleSqlString, componentSqlString, filterSqlString]; + /* sql is empty when we fetch everything (all parameters are nil) */ if ([sql length] > 0) sql = [sql substringFromIndex: 4]; else diff --git a/UI/Scheduler/UIxCalFolderActions.m b/UI/Scheduler/UIxCalFolderActions.m index a2ae01fe3..d2b75e39a 100644 --- a/UI/Scheduler/UIxCalFolderActions.m +++ b/UI/Scheduler/UIxCalFolderActions.m @@ -58,6 +58,8 @@ folder = [self clientObject]; calendar = [iCalCalendar groupWithTag: @"vcalendar"]; + /* We have to use bareFetchFields because we don't want to process anything + * (RRULES for example) */ array = [folder bareFetchFields: fields from: nil to: nil