Commit ca4a228b by Alexander Kochetov

RangeValidator bugfix

parent 460b5fab
......@@ -69,7 +69,7 @@ class RangeValidator extends Validator
$valid = !$this->not && in_array($v, $this->range, $this->strict)
|| $this->not && !in_array($v, $this->range, $this->strict);
if ($valid) {
if (!$valid) {
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment