mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix editing sysctl values.
This commit is contained in:
parent
09ba8bb752
commit
d50e8445db
@ -43,8 +43,8 @@ if (!is_array($config['sysctl']['item'])) {
|
||||
$a_tunable = &$config['sysctl']['item'];
|
||||
$tunables = system_get_sysctls();
|
||||
|
||||
if (isset($_POST['id'])) {
|
||||
$id = htmlspecialchars_decode($_POST['id']);
|
||||
if (isset($_REQUEST['id'])) {
|
||||
$id = htmlspecialchars_decode($_REQUEST['id']);
|
||||
}
|
||||
|
||||
$act = $_REQUEST['act'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user