diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/system_advanced_sysctl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_advanced_sysctl.php b/src/usr/local/www/system_advanced_sysctl.php index 8e44eed..f0fd2ea 100644 --- a/src/usr/local/www/system_advanced_sysctl.php +++ b/src/usr/local/www/system_advanced_sysctl.php @@ -143,7 +143,7 @@ if ($_POST) { $tunableent = array(); - if(!$_POST['tunable'] || !$_POST['value']) { + if(!$_POST['tunable'] || !isset($_POST['value'])) { $input_errors[] = gettext("Both a name and a value must be specified."); } else if (!ctype_alnum($_POST['value'])) { $input_errors[] = gettext("The value may contain alphanumeric characters only."); |