diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-11-03 12:23:33 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-11-03 12:26:10 +0000 |
commit | 101ccd1436f7c56ce779389523b1c4b7b466580a (patch) | |
tree | 6e81baea32708d3258936551ac5f51b3e2aef018 /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | 8217d34d20d736644b973bc0f4d692dd566c0d67 (diff) | |
download | pfsense-101ccd1436f7c56ce779389523b1c4b7b466580a.zip pfsense-101ccd1436f7c56ce779389523b1c4b7b466580a.tar.gz |
Unbreak the wizards. Some one enabled this disabled parts without even testing! Pointy-hat-to: scott@?!
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc')
-rwxr-xr-x | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index b0525b0..d2a19ed 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -494,7 +494,7 @@ function step4_stepsubmitphpaction() { exit; } - if (wizard_get_bwunit($_POST['bandwidth']) <> "%") { + if ($_POST['bandwidthspeed'] <> "%") { $message = gettext("Only percentage bandwidth specification is allowed."); header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=3&message={$message}"); exit; @@ -525,7 +525,7 @@ function step5_stepsubmitphpaction() { header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=4&message={$message}"); } - if (wizard_get_bwunit($_POST['bandwidth']) <> "%") { + if ($_POST['bandwidthspeed'] <> "%") { $message = gettext("Only percentage bandwidth specification is allowed."); header("Location: wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=4&message={$message}"); exit; @@ -1919,4 +1919,4 @@ function wizard_get_bandwidthtype_scale($type) { return intval($factor); } -?>
\ No newline at end of file +?> |