diff --git a/classes/webservice.php b/classes/webservice.php index 645dbc13..f32c6299 100644 --- a/classes/webservice.php +++ b/classes/webservice.php @@ -1084,6 +1084,8 @@ protected function get_access_token() { $expires = $cache->get('expires'); if (empty($token) || empty($expires) || time() >= $expires) { $token = $this->oauth($cache); + } else { + $this->scopes = $cache->get('scopes'); } return $token;