[imp] Virtual Trash folder always empty
Shaun Ferguson
shaun.ferguson at park.edu
Thu Apr 13 14:35:24 PDT 2006
Tornoci Laszlo <torlasz <at> xenia.sote.hu> writes:
>
> Hi,
>
> the Virtual Trash folder is always empty for me (IMP 4.1). I get a php
> warning:
> Notice: Undefined index: label in
> .../horde/imp/lib/Mailbox.php on line 171
>
> Looking at the source I think that will cause the messages to be hidden,
> so the folder always appears to be empty (btw I have no 'hide/show
> messages' any more). Does it work for anyone?
> I have submitted this as a bug (#3665).
>
> Yours: Laszlo
I encountered this as well while migrating to IMP's latest stable release
(IMP-H3-4.1 at the time of this posting). If you modify line 171 of
horde/imp/Mailbox.php to match the following, it appears to fix the bug:
$this->_delhide =
!$GLOBALS['imp_search']->isSearchMbox($GLOBALS['imp']['mailbox']) &&
($GLOBALS['imp']['mailbox']['label'] != _("Virtual Trash"));
DISCLAIMER: This has not been thoroughly tested, and is an off-the-cuff hack.
Use at your own peril ;-)
- Shaun
More information about the imp
mailing list