From dc7e3b7c32ab45ca72d1ec68e74d1aceab7fe041 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 12 Dec 2014 14:17:03 +0200 Subject: [PATCH] Use new standings API --- lib/Plack/App/Gruntmaster/HTML.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index ff998b9..a82cafd 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -216,7 +216,7 @@ sub process_st { my ($st, $tr) = @_; $tr->set_child_content(class => 'rank', $st->{rank}); $tr->set_child_content(class => 'score', $st->{score}); - $tr->fclass('user')->namedlink($st->{user}->id, $st->{user}->name); + $tr->fclass('user')->namedlink($st->{user}, $st->{user_name}); my $pbscore = $tr->fclass('pbscore'); $pbscore->detach unless $st->{problems}; $pbscore->iter($pbscore => @{$st->{scores}}); -- 2.30.2