From eeafeae2722f20c4a77144bcfcc10bd0c1d7077a Mon Sep 17 00:00:00 2001 From: johnkwoods Date: Mon, 29 Oct 2018 12:03:39 -0500 Subject: [PATCH] Fixes #433 - ORGANIZER e-mail address are case-insensitive 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. --- lib/ITip/Broker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ITip/Broker.php b/lib/ITip/Broker.php index 09775a103..b1cfee367 100644 --- a/lib/ITip/Broker.php +++ b/lib/ITip/Broker.php @@ -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.'); } }