mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 03:38:06 +02:00
Fix call on null object
This commit is contained in:
parent
86e7601328
commit
b56ee8b04f
@ -31,7 +31,7 @@ class SettingUpdateRequest extends FormRequest
|
|||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($this->route()->parameter('settingName') == 'restrictList') {
|
if ($this->route()?->parameter('settingName') == 'restrictList') {
|
||||||
$rule['value'][] = new IsValideEmailList;
|
$rule['value'][] = new IsValideEmailList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user