off-by-one fix in an error text.

No functional change.
This commit is contained in:
Luiz Souza 2018-01-25 13:50:14 -02:00
parent c7027903d4
commit fccdc01ad1

View File

@ -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");