Skip to content

Commit

Permalink
Fix updating of FQL data
Browse files Browse the repository at this point in the history
  • Loading branch information
aizatto committed Feb 11, 2012
1 parent a423be0 commit a51cfea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entity/FacebookManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function updateFacebookUserThroughFQL(FacebookUser $facebook_user) {
'q' => $fql,
'access_token' => $facebook_user->getAccessToken(),
));
$facebook_user->setDataFromFQL($data);
$facebook_user->setDataFromFQL($data['data'][0]);
}

/**
Expand Down

0 comments on commit a51cfea

Please sign in to comment.