The $messages cache was checked but not imported from the session.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 12 Aug 2007 19:10:39 +0000 (19:10 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 12 Aug 2007 19:10:39 +0000 (19:10 +0000)
Thanks Tomas Kuliavas for finding this bug.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12582 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/printer_friendly_bottom.php

index da14209be1fe48268ff760adc86f0ac92f73ad7e..9b5e6c0daedfaf2cd33b89aba3bbcbc6fe53b84f 100644 (file)
@@ -32,6 +32,7 @@ require_once(SM_PATH . 'functions/url_parser.php');
 /* get some of these globals */
 sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
 sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
+sqgetGlobalVar('messages', $messages, SQ_SESSION);
 
 if (! sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET) ) {
     $passed_ent_id = '';