From a248b9ae4fa97ee68ca94b7af3deab33abaa7be7 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 20 Nov 2008 16:19:18 -0700 Subject: [PATCH] This should live under IMP session info. --- imp/lib/Mailbox.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.11.0