diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index c4c8026e076..a945f917ec1 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -174,7 +174,7 @@ if ($action == 'maj_pattern') $explodePattern = explode(';', $pattern); $patternInError = false; - if($explodePattern[0] < 1 || $explodePattern[4] < 1){ + if($explodePattern[0] < 1 || $explodePattern[4] < 0){ $patternInError = true; }