aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/squid/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index 7640ff39..dffcf15d 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -249,7 +249,7 @@ function squid_validate_cache($post, $input_errors) {
);
foreach ($num_fields as $field => $name) {
$value = trim($post[$field]);
- if (!is_numeric($value) || ($value < 1))
+ if (!is_numeric($value) || ($value < 0))
$input_errors[] = "You must enter a valid value for '$field'";
}