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:12:49 -0400 |
commit | 99affb57a7f5d64a5cc29d3be8b05778a37944b4 (patch) | |
tree | 6915acab1d550cecb68911519b69d9c2b1940056 /src/usr | |
parent | 3d256eb10a81be7c67634b9a677c8ae8d230c5dc (diff) | |
download | pfsense-99affb57a7f5d64a5cc29d3be8b05778a37944b4.zip pfsense-99affb57a7f5d64a5cc29d3be8b05778a37944b4.tar.gz |
redundant check - is_numericint() tests for >= 0
(cherry picked from commit f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f)
Diffstat (limited to 'src/usr')
-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 { |