mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user