mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
ok NOW it should be fine
This commit is contained in:
parent
090a595c99
commit
b61ab423ca
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue