fix issue with validation
This commit is contained in:
parent
0b9c77ae7f
commit
fac4371d69
|
@ -122,6 +122,7 @@ class Validator
|
||||||
if ($this->parser !== $parser) {
|
if ($this->parser !== $parser) {
|
||||||
$this->parser = $parser;
|
$this->parser = $parser;
|
||||||
$this->errors = [];
|
$this->errors = [];
|
||||||
|
$this->hasValidate = false;
|
||||||
} elseif ($this->hasValidate) {
|
} elseif ($this->hasValidate) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue