From a37ef4fffbc532b3b0565ddc0dc74c8c5f0d206b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 15 Dec 2009 12:33:20 +0000 Subject: Resolves #220. Fixed because of missed changes as in Ticket #170. --- usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/wizards') 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; -- cgit v1.1