From: Joe Hunt Date: Thu, 24 Jul 2008 08:48:41 +0000 (+0000) Subject: Pressing the link in the meta_forward function may result in a blank page. X-Git-Tag: v2.4.2~19^2~1894 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=e42ed1a28f186bdb77d84d1472a9e3b447189505;p=fa-stable.git Pressing the link in the meta_forward function may result in a blank page. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1807e6e8..68b016ea 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index f67fd29b..217be194 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -52,7 +52,7 @@ function meta_forward($forward_to, $params="") global $Ajax; echo "\n"; echo "

" . _("You should automatically be forwarded."); - echo " " . _("If this does not happen") . " " . "" . _("click here") . " " . _("to continue") . ".

\n"; + echo " " . _("If this does not happen") . " " . "" . _("click here") . " " . _("to continue") . ".

\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 ""; }