(fix) wrong check for web calendars

pull/100/head
Ludovic Marcotte 2015-08-18 09:27:33 -04:00
parent bc2c839fbc
commit c5a219add8
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ static NSArray *reminderValues = nil;
clientObject = [self clientObject];
ownerUser = [SOGoUser userWithLogin: [clientObject ownerInContext: context]];
if ([clientObject isKindOfClass: [SOGoWebAppointmentFolder class]])
if ([[clientObject container] isKindOfClass: [SOGoWebAppointmentFolder class]])
rc = componentReadableOnly;
else
{