From: Michael M Slusarz Date: Thu, 20 Nov 2008 23:19:18 +0000 (-0700) Subject: This should live under IMP session info. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a248b9ae4fa97ee68ca94b7af3deab33abaa7be7;p=horde.git This should live under IMP session info. --- diff --git a/imp/lib/Mailbox.php b/imp/lib/Mailbox.php index c470b1578..fbc8793fd 100644 --- a/imp/lib/Mailbox.php +++ b/imp/lib/Mailbox.php @@ -452,8 +452,8 @@ class IMP_Mailbox $page = ceil($start / $page_size); } else { /* Search for the last visited page first. */ - if (isset($_SESSION['cache']['mbox_page'][$this->_mailbox])) { - $page = $_SESSION['cache']['mbox_page'][$this->_mailbox]; + if (isset($_SESSION['imp']['cache']['mbox_page'][$this->_mailbox])) { + $page = $_SESSION['imp']['cache']['mbox_page'][$this->_mailbox]; } else { $startpage = $GLOBALS['prefs']->getValue('mailbox_start'); switch ($startpage) { @@ -528,7 +528,7 @@ class IMP_Mailbox } /* Store the page value now. */ - $_SESSION['cache']['mbox_page'][$this->_mailbox] = $ret['page']; + $_SESSION['imp']['cache']['mbox_page'][$this->_mailbox] = $ret['page']; return $ret; }