diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index 8df1550ef..45336a0e8 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -278,17 +278,17 @@ { sm = [SoSecurityManager sharedSecurityManager]; if (![sm validatePermission: SoPerm_AddDocumentsImagesAndFiles - onObject: co - inContext: context]) - { - method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment", - [co soURL], objectId]; - } + onObject: co + inContext: context]) + { + method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment", + [co soURL], objectId]; + } else - { - method = [NSString stringWithFormat: @"%@/Calendar/personal/%@.vcf/editAsAppointment", - [self userFolderPath], objectId]; - } + { + method = [NSString stringWithFormat: @"%@/Calendar/personal/%@.vcf/editAsAppointment", + [self userFolderPath], objectId]; + } uri = [self completeHrefForMethod: method]; result = [self redirectToLocation: uri]; }