Browse Source

The $messages cache was checked but not imported from the session.
Thanks Tomas Kuliavas for finding this bug.

Thijs Kinkhorst 18 năm trước cách đây
mục cha
commit
90b4a39150
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/printer_friendly_bottom.php

+ 1 - 0
src/printer_friendly_bottom.php

@@ -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 = '';