Fixed adding scope to a session

This commit is contained in:
Alex Bilbie 2012-07-25 12:22:51 +01:00
parent bb4ca4eb37
commit d25ef6bb89

View File

@ -284,9 +284,9 @@ maintenance of the server.'
);
// Add the scopes
foreach ($scopes as $scope) {
foreach ($scopes as $key => $scope) {
$this->db->addSessionScope($sessionId, $scope);
$this->db->addSessionScope($sessionId, $scope['scope']);
}