Revision fccdc01a
Added by Luiz Souza over 7 years ago
src/etc/inc/shaper.inc | ||
---|---|---|
1308 | 1308 |
|
1309 | 1309 |
if (isset($data['priority']) && (!is_numeric($data['priority']) || |
1310 | 1310 |
($data['priority'] < 0) || ($data['priority'] > 15))) { |
1311 |
$input_errors[] = gettext("The priority must be an integer between 1 and 15.");
|
|
1311 |
$input_errors[] = gettext("The priority must be an integer between 0 and 15.");
|
|
1312 | 1312 |
} |
1313 | 1313 |
if ($data['qlimit'] && (!is_numeric($data['qlimit']))) { |
1314 | 1314 |
$input_errors[] = gettext("Queue limit must be an integer"); |
Also available in: Unified diff
off-by-one fix in an error text.
No functional change.