includes/functions.php
changeset 344 be6c5fdd9203
parent 343 eefe9ab7fe7c
child 345 4ccdfeee9a11
--- a/includes/functions.php	Fri Dec 28 13:36:33 2007 -0500
+++ b/includes/functions.php	Mon Dec 31 21:43:51 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');