mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
off-by-one fix in an error text.
No functional change.
This commit is contained in:
parent
c7027903d4
commit
fccdc01ad1
@ -1308,7 +1308,7 @@ class priq_queue {
|
||||
|
||||
if (isset($data['priority']) && (!is_numeric($data['priority']) ||
|
||||
($data['priority'] < 0) || ($data['priority'] > 15))) {
|
||||
$input_errors[] = gettext("The priority must be an integer between 1 and 15.");
|
||||
$input_errors[] = gettext("The priority must be an integer between 0 and 15.");
|
||||
}
|
||||
if ($data['qlimit'] && (!is_numeric($data['qlimit']))) {
|
||||
$input_errors[] = gettext("Queue limit must be an integer");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user