diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-23 22:35:34 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-23 22:35:54 -0400 |
commit | 38d4eb073e1915f60cb4c9912d7567cf032e0776 (patch) | |
tree | aad59829f8fce36b812af58999a83a37748aca93 /phpBB/phpbb/auth/provider/oauth | |
parent | 5fa08b92a29d7349c089eab33b4c38513ef964fd (diff) | |
download | forums-38d4eb073e1915f60cb4c9912d7567cf032e0776.tar forums-38d4eb073e1915f60cb4c9912d7567cf032e0776.tar.gz forums-38d4eb073e1915f60cb4c9912d7567cf032e0776.tar.bz2 forums-38d4eb073e1915f60cb4c9912d7567cf032e0776.tar.xz forums-38d4eb073e1915f60cb4c9912d7567cf032e0776.zip |
[feature/oauth] Fix last typo. Authentication works for accounts in db
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/oauth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php index 2a5e70939c..39657011c2 100644 --- a/phpBB/phpbb/auth/provider/oauth/oauth.php +++ b/phpBB/phpbb/auth/provider/oauth/oauth.php @@ -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); |