diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index d3afc1f4a..4f44e1ed1 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -323,15 +323,11 @@ if (![sm validatePermission: SoPerm_AddDocumentsImagesAndFiles onObject: co inContext: context]) - { - method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment", - [co soURL], objectId]; - } + 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]; }