[Tickets #1469] Workweek & week view can get corrupted with recurring
events and shared calendars
bugs at bugs.horde.org
bugs at bugs.horde.org
Fri Mar 4 07:58:59 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1469
-----------------------------------------------------------------------
Ticket | 1469
Updated By | joeri at joeri.nu
Summary | Workweek & week view can get corrupted with recurring events and shared calendars
Queue | Kronolith
Version | HEAD
State | Feedback
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
joeri at joeri.nu (2005-03-04 07:58) wrote:
I think a better way to solve this would be to add an & before
Util::cloneObject in lib/DayView.php
on line 254 in lib/DayView.php change:
$event->start = Util::cloneObject($event->start);
to:
$event->start = &Util::cloneObject($event->start);
This change could be applied to several other instances of Util::cloneObject
in combination with an assignment to a variable. This also solved a couple
of strange behaviour when using Attendance and multiple attendants.
If needed I can specify them, just ask nicely ;)
To be honest, I can't quite get why the ampersand is needed in front of the
function but my guess is that php4 will garbage collect the cloned object if
you dont add the ampersand.
More information about the bugs
mailing list