diff --git a/html/user/team.inc b/html/user/team.inc index be1ab68e0b..ebd3ea772e 100644 --- a/html/user/team.inc +++ b/html/user/team.inc @@ -53,7 +53,7 @@ function display_team_page($team, $user) { $total_credit = $total_credit + $user->total_credit; } - row2("Total credit", $total_credit); + row2("Total credit", credit_format($total_credit)); $result = mysql_query("select * from user where id=$team->userid"); $user = mysql_fetch_object($result); row2("Founder", "id>$user->name"); @@ -76,10 +76,12 @@ function display_team_page($team, $user) { while (true) { $user = mysql_fetch_object($result); if (!$user) break; + $user_total_credit = format_credit($user->total_credit); + $user_expavg_credit = format_credit($user->expavg_credit); echo "