1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[feature/oauth] More small fixes

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-09-02 16:52:24 -04:00
parent 29e3768ecc
commit ae18f921ea
4 changed files with 8 additions and 8 deletions

View File

@@ -197,7 +197,7 @@ class phpbb_auth_provider_oauth_token_storage_test extends phpbb_database_test_c
{
// Test that the token is stored in the database
$sql = 'SELECT * FROM phpbb_oauth_tokens
WHERE session_id = \'' . $session_id . '\'';
WHERE session_id = \'' . $this->db->sql_escape($session_id) . '\'';
$result = $this->db->sql_query($sql);
$row = $this->db->sql_fetchrow($result);
$this->db->sql_freeresult($result);