diff options
author | Ermal <eri@pfsense.org> | 2010-08-18 22:26:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-08-18 22:26:19 +0000 |
commit | d0fee737ad2bfc5d7bd1bc31261f936433ddc97a (patch) | |
tree | 9297b3e9099933052a17cf8e1b23a36be07c0bbe /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | 6debb14077a5963aeab60fa9f8fcc87bdc806740 (diff) | |
download | pfsense-d0fee737ad2bfc5d7bd1bc31261f936433ddc97a.zip pfsense-d0fee737ad2bfc5d7bd1bc31261f936433ddc97a.tar.gz |
These needs to be exit. Fix some whitespace too.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc')
-rwxr-xr-x | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |