Corrected array key call. Fixes #63

This commit is contained in:
Alex Bilbie 2013-05-27 20:33:07 +02:00
parent 92b6ce3335
commit 47c24e3181

View File

@ -194,7 +194,7 @@ class Resource
$sessionScopes = $this->storages['session']->getScopes($this->accessToken); $sessionScopes = $this->storages['session']->getScopes($this->accessToken);
foreach ($sessionScopes as $scope) { foreach ($sessionScopes as $scope) {
$this->sessionScopes[] = $scope['key']; $this->sessionScopes[] = $scope['scope'];
} }
return true; return true;