diff options
author | stilez <stilez@users.noreply.github.com> | 2016-05-24 10:27:50 +0100 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-06-22 11:13:10 -0400 |
commit | cfa9a5be7d96940deb959cdb220c5c5036ed9e26 (patch) | |
tree | 2ffdc19a023408a6154cf5a73eb82df04607d71b | |
parent | caed078357bf3bd12cbce4ee146a3c5e3a9e4af0 (diff) | |
download | pfsense-cfa9a5be7d96940deb959cdb220c5c5036ed9e26.zip pfsense-cfa9a5be7d96940deb959cdb220c5c5036ed9e26.tar.gz |
redundant check - is_numericint() tests for >= 0
(cherry picked from commit f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f)
-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 { |