[Tickets #2462] NEW: Check Folder for New Mail Problem
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Aug 17 01:22:06 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2462
-----------------------------------------------------------------------
Ticket | 2462
Created By | ddibox at mail.ru
Summary | Check Folder for New Mail Problem
Queue | IMP
Version | 4.0.3
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
ddibox at mail.ru (2005-08-17 01:22) wrote:
Use the "Check Folder(s) for New Mail" (Folders page) and after that select
"Folders" menu item. Folders are not selected (all Ok after logout-login).
Fix:
IMP_Tree:
function getPollList()
{
if (is_null($this->_poll)) {
/* We ALWAYS poll the INBOX. */
$this->_poll = array('INBOX' => 1);
/* Add the user's list of polled mailboxes, if not locked. */
if (!$GLOBALS['prefs']->isLocked('nav_poll')) {
$navPollList =
@unserialize($GLOBALS['prefs']->getValue('nav_poll'));
if ($navPollList) {
foreach ($navPollList as $key=>$val) {
if (isset($this->_tree[$key]))
{$this->_setPolled($this->_tree[$key], true);}
}
$this->_poll += $navPollList;
}
}
}
return $this->_poll;
}
More information about the bugs
mailing list