diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-29 15:07:32 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-29 15:07:32 +0000 |
commit | f534757a77052f03de67831328721dbf8cc30572 (patch) | |
tree | 564d22d70fdb8f580c35118e1f134310af17c785 | |
parent | bfa6d878c81a14309651c368a1f89f009f6379eb (diff) | |
download | pfsense-f534757a77052f03de67831328721dbf8cc30572.zip pfsense-f534757a77052f03de67831328721dbf8cc30572.tar.gz |
Use propper field names.
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 4 | ||||
-rwxr-xr-x | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 4ab8164..9bbb689 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -33,12 +33,12 @@ function step1_submitphpaction() { - if (!isset($_POST['enternumberofwanconnections'])) { + if (!isset($_POST['numberofconnections'])) { $message=gettext("You need to specify the number of connections."); header("Location:wizard.php?xml=traffic_shaper_wizard.xml&stepid=0&message={$message}"); exit; } - if (intval($_POST['enternumberofwanconnections']) > 100 || intval($_POST['enternumberofwanconnections']) < 1) { + if (intval($_POST['numberofconnections']) > 100 || intval($_POST['numberofconnections']) < 1) { $message=gettext("The number of connections supported is between 1 and 100."); header("Location:wizard.php?xml=traffic_shaper_wizard.xml&stepid=0&message={$message}"); exit; diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 1482f52..0cfb97c 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -33,12 +33,12 @@ function step1_submitphpaction() { - if (!isset($_POST['enternumberofwanconnections'])) { + if (!isset($_POST['numberofconnections'])) { $message=gettext("You need to specify the number of connections."); header("Location:wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=0&message={$message}"); exit; } - if (intval($_POST['enternumberofwanconnections']) > 100 || intval($_POST['enternumberofwanconnections']) < 1) { + if (intval($_POST['numberofconnections']) > 100 || intval($_POST['numberofconnections']) < 1) { $message=gettext("The number of connections supported is between 1 and 100."); header("Location:wizard.php?xml=traffic_shaper_wizard_dedicated.xml&stepid=0&message={$message}"); exit; |