From: stekkel Date: Wed, 11 Jun 2003 17:07:05 +0000 (+0000) Subject: Fixed message buffering in session (for teh people without the imap X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d7048dd4c878206dcdd86b036203c9828b18f919;p=squirrelmail.git Fixed message buffering in session (for teh people without the imap extension SORT) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4993 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/right_main.php b/src/right_main.php index 81501534..eb5730d6 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -50,8 +50,10 @@ sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION); sqgetGlobalVar('mailbox', $mailbox); sqgetGlobalVar('lastTargetMailbox', $lastTargetMailbox, SQ_SESSION); +sqgetGlobalVar('numMessages' , $numMessages, SQ_SESSION); sqgetGlobalVar('session', $session, SQ_GET); sqgetGlobalVar('note', $note, SQ_GET); +sqgetGlobalVar('use_mailbox_cache', $use_mailbox_cache, SQ_GET); if ( sqgetGlobalVar('startMessage', $temp) ) { $startMessage = (int) $temp; @@ -214,16 +216,16 @@ if ($use_mailbox_cache && sqsession_is_registered('msgs')) { if (sqsession_is_registered('msgs') && isset($msgs)) { sqsession_register($msgs, 'msgs'); - $_SESSION['msgs'] = $msgs; + //$_SESSION['msgs'] = $msgs; } if (sqsession_is_registered('msort') && isset($msort)) { sqsession_register($msort, 'msort'); - $_SESSION['msort'] = $msort; + //$_SESSION['msort'] = $msort; } sqsession_register($numMessages, 'numMessages'); - $_SESSION['numMessages'] = $numMessages; + //$_SESSION['numMessages'] = $numMessages; } do_hook('right_main_bottom'); sqimap_logout ($imapConnection);