1
0
Fork 0

Fix property reference

master
Anonymous Contributor 2023-08-23 18:16:35 +02:00
parent 2e7abe5bd5
commit 0a6b06fb29
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class FormValidator {
return false; return false;
} }
foreach($fieldValidation as $field => $params) { foreach($this->fieldValidation as $field => $params) {
if($params['required'] && (!isset($req[$field]) || strlen($req[$field]) == 0)) { if($params['required'] && (!isset($req[$field]) || strlen($req[$field]) == 0)) {
return false; return false;
} }