From d0fee737ad2bfc5d7bd1bc31261f936433ddc97a Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 18 Aug 2010 22:26:19 +0000 Subject: These needs to be exit. Fix some whitespace too. --- usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc') diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 4de731e..b4c7866 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -717,7 +717,7 @@ function apply_all_choosen_items() { if (intval($remainbw) > 0 && intval($remainbw) > 30) { $savemsg=gettext("Custom Bandwidths are greater than 30%. Please lower them for the wizard to continue."); header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=2&message={$message}"); - return; + exit; } else { $remainbw = 100 - $remainbw; } @@ -1103,7 +1103,7 @@ function apply_all_choosen_items() { if (intval($remainbw) > 0 && intval($remainbw) > 40) { $savemsg=gettext("Custom Bandwidths are greater than 30%. Please lower them for the wizard to continue."); header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=2&message={$message}"); - return; + exit; } else { $remainbw = 100 - $remainbw; } -- cgit v1.1