From: Marius Gavrilescu Date: Thu, 13 Feb 2014 16:30:29 +0000 (+0200) Subject: Fix problem open X-Git-Url: http://git.ieval.ro/?p=gruntmaster-page.git;a=commitdiff_plain;h=277f05a743e67e24327bded2a851a8cb998a55d0 Fix problem open --- diff --git a/lib/Gruntmaster/Page/Pb/Entry.pm b/lib/Gruntmaster/Page/Pb/Entry.pm index 9fcefe5..8b770ef 100644 --- a/lib/Gruntmaster/Page/Pb/Entry.pm +++ b/lib/Gruntmaster/Page/Pb/Entry.pm @@ -14,6 +14,7 @@ sub _generate{ debug $env => "language is '$lang', contest is '$contest', id is '$id'"; my $user = $env->{REMOTE_USER}; if ($contest && $user) { + local $Gruntmaster::Data::contest = $contest; mark_open $id, $user; debug $env => "Marking problem $id of contest $contest open by $user"; }