mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
openvpn: this is how it should be ;)
This commit is contained in:
parent
48d4f75261
commit
8d3797a2ac
@ -318,7 +318,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$input_errors[] = gettext("The Server Bridge DHCP range is invalid (start higher than end).");
|
||||
}
|
||||
}
|
||||
if (isset($pconfig['reneg-sec']) && (string)((int)$pconfig['reneg-sec']) != $pconfig['reneg-sec']) {
|
||||
if (isset($pconfig['reneg-sec']) && $pconfig['reneg-sec'] != "" && (string)((int)$pconfig['reneg-sec']) != $pconfig['reneg-sec']) {
|
||||
$input_errors[] = gettext("Renegotiate time should contain a valid number of seconds.");
|
||||
}
|
||||
do_input_validation($pconfig, $reqdfields, $reqdfieldsn, $input_errors);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user