X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=e84f6003d70a54f7972a24dfc61911a23e185d20;hb=ebca729db7cdee3b542db9cb9f2508f701941c10;hp=91699e6e7e96f3bb64698403750750ebfee0d992;hpb=33ea2780d1269378ffd05309d27ada912eff8408;p=gruntmaster-page.git diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 91699e6..e84f600 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -243,7 +243,7 @@ sub process_st { my $pbiter = sub { my ($data, $th) = @_; $th->attr(class => undef); - $th->namedlink($data->id, $data->name); + $th->namedlink(@$data); }; $tree->fclass('problem')->iter3($args{problems}, $pbiter); my $iter = sub {