Horde webmail may encounter a problem with displaying emails in the inbox – “There are no messages in this mailbox” when in fact emails are there.
We can fix this issue by editing this file:
/hsphere/shared/apache2/htdocs/horde/imp/lib/IMP.php
We have to add these lines:
/* check for empty direction */
if ($ob[‘dir’] === “”) {
$ob[‘dir’] = $GLOBALS[‘prefs’]->getValue(‘sortdir’);
}
Just before:
/* Can’t do threaded searches in search mailboxes. */
if (!IMP::threadSortAvailable($mbox)) {
if ($ob[‘by’] == SORTTHREAD) {
]]>