diff options
author | Ermal <eri@pfsense.org> | 2010-12-09 19:44:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-09 19:44:48 +0000 |
commit | 89428f036f59e00d696c422a2b7111df8716ed84 (patch) | |
tree | aab2d73b061fe19667e8d34b13e5857e3767e6e2 /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | ec3e48f1f024fa93816f31c96bba9ffa698301c7 (diff) | |
download | pfsense-89428f036f59e00d696c422a2b7111df8716ed84.zip pfsense-89428f036f59e00d696c422a2b7111df8716ed84.tar.gz |
Use correct variable name so the message is actually displayed.
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 5c540cd..50fa627 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -709,7 +709,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}"); + header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=2&message={$savemsg}"); exit; } else { $remainbw = 100 - $remainbw; @@ -1094,7 +1094,7 @@ function apply_all_choosen_items() { $remainbw = round($remainbw / $downbw * 100, 2); 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}"); + header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=2&message={$savemsg}"); exit; } else { $remainbw = 100 - $remainbw; |