Revision f208e969
Added by Stilez y about 9 years ago
src/usr/local/www/diag_confbak.php | ||
---|---|---|
64 | 64 |
require("guiconfig.inc"); |
65 | 65 |
|
66 | 66 |
if (isset($_POST['backupcount'])) { |
67 |
if (is_numericint($_POST['backupcount']) && ($_POST['backupcount'] >= 0)) {
|
|
67 |
if (is_numericint($_POST['backupcount'])) { |
|
68 | 68 |
$config['system']['backupcount'] = $_POST['backupcount']; |
69 | 69 |
$changedescr = $config['system']['backupcount']; |
70 | 70 |
} else { |
Also available in: Unified diff
redundant check - is_numericint() tests for >= 0