[Tickets #13268] Re: Kolab_Storage: PHP error on modifying contact picture
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Jun 20 12:50:18 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13268
------------------------------------------------------------------------------
Ticket | 13268
Updated By | Thomas Jarosch <thomas.jarosch at intra2net.com>
Summary | Kolab_Storage: PHP error on modifying contact picture
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Thomas Jarosch <thomas.jarosch at intra2net.com> (2014-06-20 12:50) wrote:
> Cannot reproduce. Works perfectly fine here and without any errors
> or notices.
should there be an 'id' field in the datastructure? I thought the key
of the '_attachments' array is already the id?
The code in question iterates of the attachments like this:
------------------------------------------
foreach ($object['_attachments']['id'] as $id) {
------------------------------------------
Other pieces of code iterate like this:
------------------------------------------
foreach ($object['_attachments'] as $id => $attachment) {
------------------------------------------
More information about the bugs
mailing list