mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-11 16:58:58 +01:00
Fix call on null object
This commit is contained in:
parent
86e7601328
commit
b56ee8b04f
@ -31,7 +31,7 @@ public function rules()
|
||||
]
|
||||
];
|
||||
|
||||
if ($this->route()->parameter('settingName') == 'restrictList') {
|
||||
if ($this->route()?->parameter('settingName') == 'restrictList') {
|
||||
$rule['value'][] = new IsValideEmailList;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user