Skip to content

Commit

Permalink
Merge pull request #66 from XboxLeaders/develop
Browse files Browse the repository at this point in the history
Fixes #64
  • Loading branch information
Jason Clemons committed Mar 10, 2014
2 parents b994c16 + 8f44ed3 commit e038a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/classes/api.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ public function fetch_friends($gamertag, $region)
$i = 0;
foreach ($json['Data']['Friends'] as $friend) {
$friends['friends'][$i]['gamertag'] = $friend['GamerTag'];
$friends['friends'][$i]['gamerpic']['large'] = $friend['GamerTileUrl'];
$friends['friends'][$i]['gamerpic']['small'] = $friend['LargeGamerTileUrl'];
$friends['friends'][$i]['gamerpic']['small'] = $friend['GamerTileUrl'];
$friends['friends'][$i]['gamerpic']['large'] = $friend['LargeGamerTileUrl'];
$friends['friends'][$i]['gamerscore'] = $friend['GamerScore'];
$friends['friends'][$i]['online'] = (bool)$friend['IsOnline'];
$friends['friends'][$i]['status'] = $friend['Presence'];
Expand Down

0 comments on commit e038a73

Please sign in to comment.