1
0
Fork 0

Check if "required" parameter is set

master
Anonymous Contributor 2023-08-23 18:16:35 +02:00
parent e036a009cb
commit 29796584f7
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class FormValidator {
return false; return false;
} }
} }
else if($params['required']) { else if(isset($params['required']) && $params['required']) {
return false; return false;
} }
} }