mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
Merge pull request #6101 from 3D-I/ticket/16670
[ticket/16670] Fix ACP check-in for OAuth provider keys - PHP 8
This commit is contained in:
commit
8afcaaddab
@ -688,7 +688,7 @@ class acp_board
|
||||
if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings))
|
||||
{
|
||||
$method = basename($cfg_array['auth_method']);
|
||||
if (array_key_exists('auth.provider.' . $method, $auth_providers))
|
||||
if (array_key_exists('auth.provider.' . $method, (array) $auth_providers))
|
||||
{
|
||||
$provider = $auth_providers['auth.provider.' . $method];
|
||||
if ($error = $provider->init())
|
||||
|
Loading…
x
Reference in New Issue
Block a user