includes/functions.php
changeset 343 eefe9ab7fe7c
parent 335 67bd3121a12e
child 345 4ccdfeee9a11
--- a/includes/functions.php	Fri Dec 28 16:52:03 2007 -0500
+++ b/includes/functions.php	Sun Dec 30 01:13:24 2007 -0500
@@ -285,7 +285,9 @@
   global $db, $session, $paths, $template, $plugins; // Common objects
   global $lang;
 
-  if ( $timeout == 0 )
+  // POST check added in 1.1.x because Firefox asks us if we want to "resend the form
+  // data to the new location", which can be confusing for some users.
+  if ( $timeout == 0 && empty($_POST) )
   {
     header('Location: ' . $url);
     header('HTTP/1.1 307 Temporary Redirect');