More rg=0
[squirrelmail.git] / src / retrievalerror.php
index 48324cd..57fc684 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;