Page MenuHomekolab.org

PHP warning in folder_tree_html() of kolab_addressbook.php
Closed, ResolvedPublic

Description

As per latest Winterfell:

[21-Aug-2018 02:52:22 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/roundcubemail/plugins/kolab_addressbook/kolab_addressbook.php on line 231

Warning can be triggered when IMAP account has no address book and LDAP is unavailable (not quite common, but should be trivial to fix).

Details

Event Timeline

rsc created this task.Aug 21 2018, 3:05 AM
machniak closed this task as Resolved.Aug 22 2018, 12:15 PM
machniak claimed this task.
machniak added a subscriber: machniak.

I'm unable to reproduce. When Contacts folder does not exist it is created automatically. From the code I see that the warning could happen only in case of some imap connection errors. Fixed anyway with 8a5c09287.