mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
0e6abc4899
@ -40,7 +40,7 @@ class RegisterRequest extends FormRequest
|
||||
$rules = [];
|
||||
|
||||
foreach ($this->company()->client_registration_fields as $field) {
|
||||
if ($field['visible']) {
|
||||
if ($field['visible'] ?? true) {
|
||||
$rules[$field['key']] = $field['required'] ? ['bail','required'] : ['sometimes'];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user