From: Michael J. Rubinsky Date: Sun, 12 Sep 2010 20:36:24 +0000 (-0400) Subject: Reset the Kronolith_Event::allday property when receiving event from iCalendar. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=881a2a5b81c2fef9d2792cb6dc22619391d23b0f;p=horde.git Reset the Kronolith_Event::allday property when receiving event from iCalendar. Value will be redetermined if needed when Kronolith_Event#isAllDay() is called next Bug: 9243 --- diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index ed70b8e56..b39d401bb 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -878,6 +878,10 @@ abstract class Kronolith_Event } } catch (Horde_Icalendar_Exception $e) {} + // Reset allday flag in case this has changed. Will be recalculated + // next time isAllDay() is called. + $this->allday = false; + // Start and end date. try { $start = $vEvent->getAttribute('DTSTART');