diff options
author | jim-p <jimp@pfsense.org> | 2017-02-15 13:40:29 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-02-15 13:40:29 -0500 |
commit | d50e8445db76913b0eecdaf23015591f59543151 (patch) | |
tree | 72c9ee89b849843ce43275439a5b95d0c8712f93 /src | |
parent | 09ba8bb752171fe02c67c7983bc8ceeab63f804c (diff) | |
download | pfsense-d50e8445db76913b0eecdaf23015591f59543151.zip pfsense-d50e8445db76913b0eecdaf23015591f59543151.tar.gz |
Fix editing sysctl values.
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/system_advanced_sysctl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_advanced_sysctl.php b/src/usr/local/www/system_advanced_sysctl.php index 3dc14af..fb14911 100644 --- a/src/usr/local/www/system_advanced_sysctl.php +++ b/src/usr/local/www/system_advanced_sysctl.php @@ -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']; |