mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not allow upload or download speeds to be blank.
This commit is contained in:
parent
fa4a625342
commit
8cb9548935
@ -47,6 +47,11 @@ function step2_stepsubmitphpaction() {
|
||||
header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&stepid={$stepid}&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&stepid={$stepid}&message={$message}");
|
||||
exit;
|
||||
}
|
||||
$downq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['inside_int']);
|
||||
$upq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['outside_int']);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user