From 277f05a743e67e24327bded2a851a8cb998a55d0 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 13 Feb 2014 18:30:29 +0200 Subject: [PATCH] Fix problem open --- lib/Gruntmaster/Page/Pb/Entry.pm | 1 + 1 file changed, 1 insertion(+) 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"; } -- 2.39.2