More rg=0
[squirrelmail.git] / src / retrievalerror.php
index 48324cd83151718b9713ca5e60a06dd94c587f1a..57fc68413fb9c1c95200ccd6d9c72a0f9a0e23d4 100644 (file)
@@ -27,6 +27,29 @@ require_once(SM_PATH . 'include/load_prefs.php');
 $destination = 'retrievalerror@squirrelmail.org';
 $attachments = array();
 
+/* globals */
+
+$key = $_COOKIE['key'];
+$username = $_SESSION['username'];
+$onetimepad = $_SESSION['onetimepad'];
+
+$mailbox = $_GET['mailbox'];
+$passed_id = $_GET['passed_id'];
+$startMessage = $_GET['startMessage'];
+$show_more = $_GET['show_more'];
+$response = $_GET['response'];
+$message = $_GET['message'];
+$topline = $_GET['topline'];
+
+if(isset($_GET['where'])) {
+    $where = $_GET['where'];
+}
+if(isset($_GET['what'])) {
+    $what = $_GET['what'];
+}
+
+/* end globals */
+
 function ClearAttachments() {
     global $attachments, $attachment_dir, $username;