summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-15 12:33:20 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-15 12:33:20 +0000
commita37ef4fffbc532b3b0565ddc0dc74c8c5f0d206b (patch)
tree92478133f11dfba7d2d6f7476b2d0bda81a4cc8a /usr/local/www/wizards
parent32f0eb874fa120d95ae83e756b90d765b908b688 (diff)
downloadpfsense-a37ef4fffbc532b3b0565ddc0dc74c8c5f0d206b.zip
pfsense-a37ef4fffbc532b3b0565ddc0dc74c8c5f0d206b.tar.gz
Resolves #220. Fixed because of missed changes as in Ticket #170.
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
index 4fe12e3..c836188 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
@@ -32,12 +32,12 @@
*/
function step1_submitphpaction() {
- if (!isset($_POST['enternumberoflantypeconnections'])) {
+ if (!isset($_POST['numberofconnections'])) {
$message=gettext("You need to specify the number of local interfaces connected.");
header("Location:wizard.php?xml=traffic_shaper_wizard_multi_lan.xml&stepid=0&message={$message}");
exit;
}
- if (intval($_POST['enternumberoflantypeconnections']) > 100 || intval($_POST['enternumberoflantypeconnections']) < 1) {
+ if (intval($_POST['numberofconnections']) > 100 || intval($_POST['numberofconnections']) < 1) {
$message=gettext("The number of local interfaces supported is between 1 and 100.");
header("Location:wizard.php?xml=traffic_shaper_wizard_multi_lan.xml&stepid=0&message={$message}");
exit;
OpenPOWER on IntegriCloud