diff options
author | stilez <stilez@users.noreply.github.com> | 2016-05-24 10:27:50 +0100 |
---|---|---|
committer | stilez <stilez@users.noreply.github.com> | 2016-05-24 10:27:50 +0100 |
commit | f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f (patch) | |
tree | 7c97d60f6ad92718b9e703e4f8200596f61e3663 /src/usr/local/www/diag_confbak.php | |
parent | 01b5410ae8391998ba560d40f447c7f556472c5b (diff) | |
download | pfsense-f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f.zip pfsense-f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f.tar.gz |
redundant check - is_numericint() tests for >= 0
Diffstat (limited to 'src/usr/local/www/diag_confbak.php')
-rw-r--r-- | src/usr/local/www/diag_confbak.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php index e951ef6..f17210e 100644 --- a/src/usr/local/www/diag_confbak.php +++ b/src/usr/local/www/diag_confbak.php @@ -64,7 +64,7 @@ require("guiconfig.inc"); if (isset($_POST['backupcount'])) { - if (is_numericint($_POST['backupcount']) && ($_POST['backupcount'] >= 0)) { + if (is_numericint($_POST['backupcount'])) { $config['system']['backupcount'] = $_POST['backupcount']; $changedescr = $config['system']['backupcount']; } else { |