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 [#7891] hook msglist_format
*
Your Email Address
*
Spam protection
Enter the letters below:
. .._.. . ..__ |\ | | | |__|[__) | \|_|_|___| ||
Comment
> I'm getting the following warnings when enabling $conf[hooks][msglist_format] > > > > Notice: Undefined index: status in > /var/www/html/horde/imp/config/hooks.php on line 245 > > Warning: array_merge() [function.array-merge]: Argument #1 is not an > array in /var/www/html/horde/imp/mailbox.php on line 26 > > > > patches: > > --- hooks.php.org 2009-01-26 12:21:21.000000000 +0100 > > +++ hooks.php 2009-01-26 12:25:22.000000000 +0100 > > @@ -220,7 +220,8 @@ > > foreach ($uids as $uid) { > > $tmp = array(); > > $res_ptr = &$imap_res[$uid]; > > - > > + $tmp['status']; > > + > > // Add attachment information > > if (($attachment = > $imp_ui->getAttachmentType($res_ptr['structure']->getType()))) { > > switch ($mode) { > > > > --- mailbox.php.org 2009-01-26 12:22:58.000000000 +0100 > > +++ mailbox.php 2009-01-26 12:26:31.000000000 +0100 > > @@ -23,7 +23,8 @@ > > $ptr = &$msgs[$uid]; > > > > if (!empty($val['class'])) { > > - $ptr['bg'] = array_merge($ptr['bg'], $val['class']); > > + $tmp['bg'] = $ptr['bg']; > > + $ptr['bg'] = array_merge($tmp, $val['class']); > > } > > > > if (!empty($val['flagbits'])) { > >
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