[Tickets #684] NEW: FBView.php rendering all the same attendee

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Oct 11 07:40:24 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=684
-----------------------------------------------------------------------
 Ticket     | 684
 Created By | ctnpublic-horde at yahoo.com
 Summary    | FBView.php rendering all the same attendee
 Queue      | Kronolith
 Version    | HEAD
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


ctnpublic-horde at yahoo.com (2004-10-11 07:40) wrote:

I believe this is because when attendees are added, the most recent one
overwrites the earlier ones (byref vs. byval).

Index: kronolith/lib/FBView.php
===================================================================
RCS file: /repository/kronolith/lib/FBView.php,v
retrieving revision 1.7
diff -r1.7 FBView.php
33c33
<         $this->_requiredMembers[] = &$vFreebusy;
---
>         $this->_requiredMembers[] = $vFreebusy;
38c38
<         $this->_optionalMembers[] = &$vFreebusy;
---
>         $this->_optionalMembers[] = $vFreebusy;





More information about the bugs mailing list