mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/16670] Fix ACP check-in for OAuth provider keys - PHP 8
PHPBB3-16670
This commit is contained in:
parent
91e0e84387
commit
8382b36823
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))
|
if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings))
|
||||||
{
|
{
|
||||||
$method = basename($cfg_array['auth_method']);
|
$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];
|
$provider = $auth_providers['auth.provider.' . $method];
|
||||||
if ($error = $provider->init())
|
if ($error = $provider->init())
|
||||||
|
|
Loading…
Add table
Reference in a new issue