diff --git a/public/API/API_GetUserSummary.php b/public/API/API_GetUserSummary.php index aae0fd5085..bfdd24b847 100644 --- a/public/API/API_GetUserSummary.php +++ b/public/API/API_GetUserSummary.php @@ -113,7 +113,7 @@ ], 404); } -$retVal['UserPic'] = "/UserPic/" . $user . ".png"; +$retVal['UserPic'] = "/UserPic/" . $retVal['User'] . ".png"; $retVal['TotalRanked'] = countRankedUsers(); // assume caller doesn't care about the rich presence script for the last game played @@ -131,7 +131,7 @@ 'timestamp' => null, 'lastupdate' => null, 'activitytype' => null, - 'User' => $user, + 'User' => $retVal['User'], 'data' => null, 'data2' => null, ];