diff --git a/app/FormValidator.php b/app/FormValidator.php index 5ebb1c5..9f563f0 100644 --- a/app/FormValidator.php +++ b/app/FormValidator.php @@ -23,7 +23,7 @@ class FormValidator { return false; } } - else if($params['required']) { + else if(isset($params['required']) && $params['required']) { return false; } }