summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_misc.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-01-29 03:05:28 -0600
committerChris Buechler <cmb@pfsense.org>2015-01-29 03:05:28 -0600
commit427831ac67b80b7900f7327253dfd96c50132a4e (patch)
tree29672690ccffe3194435409da8530dbc8ecedd9f /usr/local/www/system_advanced_misc.php
parent6a2f0ad75063b9a0068b0a1983fb61fe3b408920 (diff)
downloadpfsense-427831ac67b80b7900f7327253dfd96c50132a4e.zip
pfsense-427831ac67b80b7900f7327253dfd96c50132a4e.tar.gz
fix input validation, = is OK here
Diffstat (limited to 'usr/local/www/system_advanced_misc.php')
-rw-r--r--usr/local/www/system_advanced_misc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php
index 0255d77..e7403a2 100644
--- a/usr/local/www/system_advanced_misc.php
+++ b/usr/local/www/system_advanced_misc.php
@@ -102,10 +102,10 @@ if ($_POST) {
if (!empty($_POST['thermal_hardware']) && !array_key_exists($_POST['thermal_hardware'], $thermal_hardware_modules))
$input_errors[] = gettext("Please select a valid Thermal Hardware Sensor.");
- if (!empty($_POST['use_mfs_tmp_size']) && (!is_numeric($_POST['use_mfs_tmp_size']) || ($_POST['use_mfs_tmp_size'] <= 40)))
+ if (!empty($_POST['use_mfs_tmp_size']) && (!is_numeric($_POST['use_mfs_tmp_size']) || ($_POST['use_mfs_tmp_size'] < 40)))
$input_errors[] = gettext("/tmp Size must be numeric and should not be less than 40MB.");
- if (!empty($_POST['use_mfs_var_size']) && (!is_numeric($_POST['use_mfs_var_size']) || ($_POST['use_mfs_var_size'] <= 60)))
+ if (!empty($_POST['use_mfs_var_size']) && (!is_numeric($_POST['use_mfs_var_size']) || ($_POST['use_mfs_var_size'] < 60)))
$input_errors[] = gettext("/var Size must be numeric and should not be less than 60MB.");
if (!$input_errors) {
OpenPOWER on IntegriCloud