diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index 85421027d1..8bd3ab420c 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -922,15 +922,11 @@ class Helper } } else { if (strpos($rule, 'required') === false) { - return false; - } else { - if (strpos($rule_name, 'required') === false) { $required = false; } else { $required = true; } } - } } } return $required;