Skip to content

Commit afeb358

Browse files
Bug fixes
1 parent 3a66c56 commit afeb358

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Validator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function __construct() {
9494
*/
9595
public function validate($data, $multiple_data=false) : bool {
9696
$is_valid = true;
97+
$this->errors = [];
9798

9899
//Convert users data type to array
99100
if(is_object($data)) {

0 commit comments

Comments
 (0)