mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #1374. Actually test the right field name.
This commit is contained in:
parent
71edee5e57
commit
7efd99722a
@ -2770,8 +2770,10 @@ class dummynet_class {
|
||||
$reqdfieldsn[] = "Bandwidth";
|
||||
$reqdfields[] = "bandwidthtype";
|
||||
$reqdfieldsn[] = "Bandwidthtype";
|
||||
$reqdfields[] = "name";
|
||||
$reqdfieldsn[] = "Name";
|
||||
if (!empty($data['newname'])) {
|
||||
$reqdfields[] = "newname";
|
||||
$reqdfieldsn[] = "Name";
|
||||
}
|
||||
|
||||
shaper_do_input_validation($data, $reqdfields, $reqdfieldsn, $input_errors);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user