Fix handling of public access rights of Calendars

pull/239/head
Francis Lachapelle 2017-12-21 16:06:39 -05:00
parent b89752cd39
commit 429a3bedb9
1 changed files with 7 additions and 4 deletions

View File

@ -124,10 +124,13 @@
if ([currentValue isEqualToString: @"None"])
[self removeAllRightsFromList: rightsForType];
else if ([rightsForType containsObject: currentValue])
[self appendExclusiveRight: [NSString stringWithFormat: @"%@%@",
currentType, currentValue]
fromList: rightsForType];
else
{
currentValue = [NSString stringWithFormat: @"%@%@", currentType, currentValue];
if ([rightsForType containsObject: currentValue])
[self appendExclusiveRight: currentValue
fromList: rightsForType];
}
currentType = [types nextObject];
}