[Tickets #5086] foreach with references in the tasklists.inc template
bugs at bugs.horde.org
bugs at bugs.horde.org
Thu Mar 8 07:53:18 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5086
-----------------------------------------------------------------------
Ticket | 5086
Created By | wrobel at pardus.de
Summary | foreach with references in the tasklists.inc template
Queue | Nag
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
+New Attachment | nag-templates-tasklists-tasklists.inc_foreach-with-references_20070308.patch
-----------------------------------------------------------------------
wrobel at pardus.de (2007-03-07 23:53) wrote:
The list of shares that is used within the tasklists.inc template is a list
of references in my case (kolab share driver).
The use of the two foreach loops within the templates mixes up these
refernces and once I edit a share I end up with one shares being listed
twice and other shares missing.
In case the share array should really be an array of references the
attached patch would fix the problematic foreach loops. In case the share
list should not provide object references, the driver would probably need
to be modified accordingly.
More information about the bugs
mailing list