--- jumpto.php	2009-07-21 13:47:01.000000000 +0800
+++ jumpto.php	2009-07-21 13:48:17.000000000 +0800
@@ -20,6 +20,8 @@
         redirect(urldecode($jump));
     }
 
-    redirect($_SERVER['HTTP_REFERER']);   // Return to sender, just in case
+    if (isset($_SERVER['HTTP_REFERER'])) {
+        redirect($_SERVER['HTTP_REFERER']);   // Return to sender, just in case
+    }
 
 ?>
