6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5604] ListMessages endless loop
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ ..__. | |[__) || | \__|\__|[__)\__||__\
Comment
> You live, you learn. Turns out you can't have numeric properties in > an object - or more accurately, your property can't begin with an > integer (i.e. you can't have $obj->1 or $obj->1foo). And it turns > out that encoding $msglist as a regular array does return the correct > "{'integer':integer,'integer2':integer2}" form. I know for a fact > this did not work like this before - but I think the difference now > is that we build $msglist ourselves now earlier in the function - and > since we are creating the array directly by doing $msglist[integer] > calls, PHP is interpreting these indices as string indices. I can > almost guarantee you before we were building via $msglist[], or maybe > an array_keys() or array_values() call, or something similar that > resulting in the array being created with indexed integers rather > than string indices.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers