Pressing the link in the meta_forward function may result in a blank page.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 24 Jul 2008 08:48:41 +0000 (08:48 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 24 Jul 2008 08:48:41 +0000 (08:48 +0000)
CHANGELOG.txt
includes/ui/ui_controls.inc

index 1807e6e8a17d983a136ef8762cf6cbeba79fc9cf..68b016ea06ade858f6f844bea4b9b65fb44b3bdd 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+24-Jul-2008 Joe Hunt
+# Pressing the link in the meta_forward function may result in a blank page.
+$ /includes/ui/ui_controls.inc
+
 23-Jul-2008 Joe Hunt
 # Increment reference bug in GL Deposit and missing hyperlink parameter.
 $ /gl/gl_bank.php
index f67fd29bb29d407441a83271bc43eb081396d979..217be194c3642061fa15fc7b5085deac3fda3106 100644 (file)
@@ -52,7 +52,7 @@ function meta_forward($forward_to, $params="")
     global $Ajax;
        echo "<meta http-equiv='Refresh' content='0; url=$forward_to?$params'>\n";
        echo "<center><br>" . _("You should automatically be forwarded.");
-       echo " " . _("If this does not happen") . " " . "<a href='$forward_to'>" . _("click here") . "</a> " . _("to continue") . ".<br><br></center>\n";
+       echo " " . _("If this does not happen") . " " . "<a href='$forward_to?$params'>" . _("click here") . "</a> " . _("to continue") . ".<br><br></center>\n";
        $Ajax->redirect($forward_to.'?'.$params);
        exit;
 }
@@ -213,7 +213,7 @@ function div_end()
     if (count($ajax_divs))
     {
                $div = array_pop($ajax_divs);
-               if ($div[1] !== null) 
+               if ($div[1] !== null)
                        $Ajax->addUpdate($div[1], $div[0], ob_get_flush());
                echo "</div>";
     }