mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue