summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-23 23:59:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-23 23:59:10 +0000
commit343f47582714e110cb03642aa3ab4e4b04372b2c (patch)
tree3a0e7ddfbc5bd1c078af9f881a0e0c4844754b41 /usr/local/www/wizards/traffic_shaper_wizard.inc
parent5097361fd18c506d26624a0b6abd5d3df024626c (diff)
downloadpfsense-343f47582714e110cb03642aa3ab4e4b04372b2c.zip
pfsense-343f47582714e110cb03642aa3ab4e4b04372b2c.tar.gz
MFC 12339
$stepid isn't global, no need to use it anyway, we know what step we need to redirect to
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.inc')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index b851708..30e71bf 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -44,12 +44,12 @@ function step2_stepsubmitphpaction() {
global $g, $config;
if ($config['ezshaper']['step2']['inside_int'] == $config['ezshaper']['step2']['outside_int']) {
$message="Inside and Outside interfaces cannot be the same";
- header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&amp;stepid={$stepid}&amp;message={$message}");
+ header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&amp;stepid=1&amp;message={$message}");
exit;
}
if ($_POST['download'] == "" or $_POST['upload]'] == "") {
$message="Upload or download speeds cannot be empty!";
- header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&amp;stepid={$stepid}&amp;message={$message}");
+ header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&amp;stepid=1&amp;message={$message}");
exit;
}
$downq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['inside_int']);
OpenPOWER on IntegriCloud