mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
ra: typo in previous
This commit is contained in:
parent
5faaa75a70
commit
ef34f1a2ea
@ -107,7 +107,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_numericint($pconfig['ramaxinterval']) || $pconfig['ramaxnterval'] < 4 || $pconfig['ramaxinterval'] > 1800) {
|
||||
if (!is_numericint($pconfig['ramaxinterval']) || $pconfig['ramaxinterval'] < 4 || $pconfig['ramaxinterval'] > 1800) {
|
||||
$input_errors[] = gettext(sprintf('Maximum interval must be between %s and %s seconds.', 4, 1800));
|
||||
// chain this validation, we use the former value for calculation */
|
||||
} elseif (!is_numericint($pconfig['ramininterval']) || $pconfig['ramininterval'] < 3 || $pconfig['ramininterval'] > int($pconfig['ramaxinterval'] * 0.75)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user