redundant check - is_numericint() tests for >= 0

This commit is contained in:
stilez 2016-05-24 10:27:50 +01:00
parent 01b5410ae8
commit f208e9690e

View File

@ -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 {