Skip to content

Commit 5b4c677

Browse files
committed
Clear parameters between validations
1 parent 2acf6a6 commit 5b4c677

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PHPFUI/ORM/Validator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ private function getFieldErrors(mixed $value, array $validators, array $fieldDef
207207
{
208208
$parts = \explode(':', (string)$validator);
209209

210+
$parameters = [];
210211
if (\count($parts) > 1)
211212
{
212213
$parameters = \explode(',', $parts[1]);

0 commit comments

Comments
 (0)