1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[feature/oauth] Fix last typo. Authentication works for accounts in db

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-23 22:35:34 -04:00
parent 5fa08b92a2
commit 38d4eb073e

View File

@ -163,7 +163,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
'provider' => $service_name,
'oauth_provider_id' => $unique_id
);
$sql = 'SELECT user_id FROM' . $this->auth_provider_oauth_token_account_assoc . '
$sql = 'SELECT user_id FROM ' . $this->auth_provider_oauth_token_account_assoc . '
WHERE ' . $this->db->sql_build_array('SELECT', $data);
$result = $this->db->sql_query($sql);
$row = $this->db->sql_fetchrow($result);