diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/squid3/34/squid.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 4905f96c..33836d9e 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -675,8 +675,8 @@ function squid_validate_traffic($post, &$input_errors) { if (!empty($post['quick_abort_min'])) { $value = trim($post['quick_abort_min']); - if (!is_numericint($value)) { - $input_errors[] = "'Finish when remaining KB' must contain a positive integer."; + if ((!is_numericint($value)) && ($value !== -1)) { + $input_errors[] = "'Finish when remaining KB' must contain a positive integer or '-1'."; } } |