diff --git a/classes/class-PMSSO-Client.php b/classes/class-PMSSO-Client.php index ac19acb..9bc5ebc 100644 --- a/classes/class-PMSSO-Client.php +++ b/classes/class-PMSSO-Client.php @@ -506,6 +506,7 @@ public function get_latest_pbs_userinfo($access_token = '') { $info = curl_getinfo($ch); $errors = curl_error($ch); curl_close($ch); + $response = json_decode($response_json, true); if (isset($response['profile'])) { $userinfo = $response['profile']; // append the VPPA status