mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[feature/oauth] Fix SQL error in token storage
PHPBB3-11673
This commit is contained in:
@@ -141,7 +141,7 @@ class phpbb_auth_provider_oauth_token_storage implements TokenStorageInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'INSERT INTO ' . $this->auth_provider_oauth_table . '
|
$sql = 'INSERT INTO ' . $this->auth_provider_oauth_table . '
|
||||||
WHERE ' . $this->db->sql_build_array('INSERT', $data);
|
' . $this->db->sql_build_array('INSERT', $data);
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user