Skip to content

Commit

Permalink
Merge f96a10f into f3cac73
Browse files Browse the repository at this point in the history
  • Loading branch information
scoppen committed Aug 3, 2014
2 parents f3cac73 + f96a10f commit 7030493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Provider/LinkedIn.php
Expand Up @@ -37,6 +37,7 @@ public function userDetails($response, AccessToken $token)
$email = (isset($response->emailAddress)) ? $response->emailAddress : null;
$location = (isset($response->location->name)) ? $response->location->name : null;
$description = (isset($response->headline)) ? $response->headline : null;
$imageurl = (isset($response->pictureUrl)) ? $response->pictureUrl : null;

$user->exchangeArray(array(
'uid' => $response->id,
Expand All @@ -46,7 +47,7 @@ public function userDetails($response, AccessToken $token)
'email' => $email,
'location' => $location,
'description' => $description,
'imageurl' => $response->pictureUrl,
'imageurl' => $imageurl,
'urls' => $response->publicProfileUrl,
));

Expand Down

0 comments on commit 7030493

Please sign in to comment.