rg=0 fix
[squirrelmail.git] / src / view_text.php
index 53ad394550e31872140902d01a9356606d8d7277..18d80586128726f9d21928047e146995a7511ce5 100644 (file)
@@ -29,11 +29,13 @@ if (!isset($_GET['passed_ent_id'])) {
     $passed_ent_id = $_GET['passed_ent_id'];
 }
 $passed_id = $_GET['passed_id'];
+$ent_id = $_GET['ent_id'];
 $username = $_SESSION['username'];
 $key = $_COOKIE['key'];
 $delimiter = $_SESSION['delimiter'];
 $onetimepad = $_SESSION['onetimepad'];
-
+$QUERY_STRING = $_SERVER['QUERY_STRING'];
+sqextractGlobalVar('messages');
 
 $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 $mbx_response =  sqimap_mailbox_select($imapConnection, $mailbox);