diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index 40a77b11b..cddb44ee5 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -1058,10 +1058,10 @@ else adminToolbar = @"SOGoTaskObject.toolbar"; + currentUser = [context activeUser]; sm = [SoSecurityManager sharedSecurityManager]; if ([[component attendees] count]) { - currentUser = [context activeUser]; if ([component userIsOrganizer: currentUser]) toolbarFilename = @"SOGoComponentClose.toolbar"; else