Fix property reference
parent
2e7abe5bd5
commit
0a6b06fb29
|
@ -12,7 +12,7 @@ class FormValidator {
|
|||
return false;
|
||||
}
|
||||
|
||||
foreach($fieldValidation as $field => $params) {
|
||||
foreach($this->fieldValidation as $field => $params) {
|
||||
if($params['required'] && (!isset($req[$field]) || strlen($req[$field]) == 0)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue