aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 07d1da26..a2b6dc56 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -953,7 +953,7 @@ function squid_validate_traffic($post, &$input_errors) {
if (!empty($post['quick_abort_min'])) {
$value = trim($post['quick_abort_min']);
- if ((!is_numericint($value)) && ($value !== -1)) {
+ if ((!is_numericint($value)) && ($value != "-1")) {
$input_errors[] = "'Finish when remaining KB' must contain a positive integer or '-1'.";
}
}