6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9317] IMP doesn't work for users with 0 folders
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . ..__ .__ | \| \\ /[ __[__) |__/|__/ \/ [_./[__)
Comment
> If the user has 0 mailboxes the following error appears when trying > to open IMP: > > Warning: array_keys() [function.array-keys]: The first argument > should be an array in > /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on line 328 > > Warning: array_intersect() [function.array-intersect]: Argument #2 is > not an array in /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on > line 328 > > Warning: array_flip() [function.array-flip]: The argument should be > an array in /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on line > 328 > > Fatal error: Unsupported operand types in > /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on line 333 > > This seems related to new code added in 1.2.7 and happens because > $names array never gets initialized in case of 0 mailboxes. Patch is > attached.
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