mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-28 07:50:23 +05:30
Fixed missing $this
This commit is contained in:
parent
a1ca904255
commit
307964d571
@ -150,7 +150,7 @@ class Session implements SessionInterface
|
|||||||
|
|
||||||
public function getAuthCodeScopes($oauthSessionAuthCodeId)
|
public function getAuthCodeScopes($oauthSessionAuthCodeId)
|
||||||
{
|
{
|
||||||
$stmt = $db->prepare('SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE oauth_session_authcode_id = :authCodeId');
|
$stmt = $this->db->prepare('SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE oauth_session_authcode_id = :authCodeId');
|
||||||
$stmt->bindValue(':authCodeId', $oauthSessionAuthCodeId);
|
$stmt->bindValue(':authCodeId', $oauthSessionAuthCodeId);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user