Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2024-07-23 22:15:57 +01:00
commit 9baaaae1a3

View file

@ -914,7 +914,7 @@ class Helper
$rules = $class::rules();
foreach ($rules as $rule_name => $rule) {
if ($rule_name == $field) {
if (strpos($rule, 'required') === false) {
if (strpos($rule_name, 'required') === false) {
return false;
} else {
return true;