X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FLog%2FEntry.pm;h=8864df81fb0afcbada3d3aef902f719309e7ffdf;hb=1053baeebc541fc3508aabb6121759bb4a884e23;hp=beceae7e2f1cf01dc4807570f8fb97c4ce46ab58;hpb=7dc3247307f2e86af154dc449224f22ba8923c79;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index beceae7..8864df8 100644 --- a/lib/Gruntmaster/Page/Log/Entry.pm +++ b/lib/Gruntmaster/Page/Log/Entry.pm @@ -24,9 +24,9 @@ HTML }; sub _generate{ - my ($self, $htc, $lang, $logger, $ct, $id) = @_; - debug $logger => "language is $lang, contest is $ct and id is $id"; - local $Gruntmaster::Data::contest = $ct; + my ($self, $htc, $lang, $env, $ct, $id) = @_; + debug $env => "language is '$lang', contest is '$ct' and id is '$id'"; + local $Gruntmaster::Data::contest = $ct if $ct; my @tests = ();