Skip to content

Commit c758f85

Browse files
committed
Merge branch 'feature/16410927_documentation' of https://github.com/justcoded/form-handler into feature/16410927_documentation
2 parents 92aefd3 + 4aa04e5 commit c758f85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FormHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function getValidator($data)
124124
public function process()
125125
{
126126
$this->handler->process($this->formFields);
127-
$this->errors = $this->handler->getErrors();
127+
$this->errors = array_filter(array($this->handler->getErrors()));
128128
}
129129

130130
/**

0 commit comments

Comments
 (0)