projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e3524
)
Reset the Kronolith_Event::allday property when receiving event from iCalendar.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 12 Sep 2010 20:36:24 +0000
(16:36 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 12 Sep 2010 20:36:24 +0000
(16:36 -0400)
Value will be redetermined if needed when Kronolith_Event#isAllDay() is called next
Bug: 9243
kronolith/lib/Event.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Event.php
b/kronolith/lib/Event.php
index
ed70b8e
..
b39d401
100644
(file)
--- 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');