From 8382b36823964746322c432a07e3fdf63a3b5d9b Mon Sep 17 00:00:00 2001 From: 3D-I <480857+3D-I@users.noreply.github.com> Date: Thu, 31 Dec 2020 10:18:32 +0100 Subject: [PATCH] [ticket/16670] Fix ACP check-in for OAuth provider keys - PHP 8 PHPBB3-16670 --- phpBB/includes/acp/acp_board.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index e22d493a0f..08798b27ec 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -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())