mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 11:17:02 +02:00
Fix a bug in FormTrait::validate()
This commit is contained in:
@@ -161,7 +161,7 @@ trait FormTrait
|
||||
|
||||
try {
|
||||
$this->validateData($this->data);
|
||||
$this->validateUploads($this->files);
|
||||
$this->validateUploads($this->getFiles());
|
||||
} catch (ValidationException $e) {
|
||||
$list = [];
|
||||
foreach ($e->getMessages() as $field => $errors) {
|
||||
|
||||
Reference in New Issue
Block a user