Skip to content

Commit

Permalink
Fixes #433 - ORGANIZER e-mail address are case-insensitive
Browse files Browse the repository at this point in the history
Fixes issue where a recurring meeting is created with ORGANIZER as First.Last@domain.com, then individual appointments are saved with ORGANIZER as first.last@domain.com.
  • Loading branch information
johnkwoods authored and DeepDiver1975 committed Oct 30, 2018
1 parent 898b2e7 commit 0abdce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ITip/Broker.php
Expand Up @@ -847,7 +847,7 @@ protected function parseEventInfo(VCalendar $calendar = null)
$organizer = $vevent->ORGANIZER->getNormalizedValue();
$organizerName = isset($vevent->ORGANIZER['CN']) ? $vevent->ORGANIZER['CN'] : null;
} else {
if ($organizer !== $vevent->ORGANIZER->getNormalizedValue()) {
if (strtoupper($organizer) !== strtoupper($vevent->ORGANIZER->getNormalizedValue())) {
throw new SameOrganizerForAllComponentsException('Every instance of the event must have the same organizer.');
}
}
Expand Down

0 comments on commit 0abdce6

Please sign in to comment.