Skip to content

Commit eeafeae

Browse files
johnkwoodsstaabm
authored andcommitted
Fixes #433 - ORGANIZER e-mail address are case-insensitive
Fixes issue where a recurring meeting is created with ORGANIZER as [email protected], then individual appointments are saved with ORGANIZER as [email protected].
1 parent 898b2e7 commit eeafeae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ITip/Broker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ protected function parseEventInfo(VCalendar $calendar = null)
847847
$organizer = $vevent->ORGANIZER->getNormalizedValue();
848848
$organizerName = isset($vevent->ORGANIZER['CN']) ? $vevent->ORGANIZER['CN'] : null;
849849
} else {
850-
if ($organizer !== $vevent->ORGANIZER->getNormalizedValue()) {
850+
if (strtoupper($organizer) !== strtoupper($vevent->ORGANIZER->getNormalizedValue())) {
851851
throw new SameOrganizerForAllComponentsException('Every instance of the event must have the same organizer.');
852852
}
853853
}

0 commit comments

Comments
 (0)