From ca8b5383e0652370d5f043cc2440a53cc9da8bfc Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 27 Mar 2014 19:06:36 +0200 Subject: [PATCH] open -> opens --- lib/Gruntmaster/Page/Generic.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Page/Generic.pm b/lib/Gruntmaster/Page/Generic.pm index 2096919..cb8dd67 100644 --- a/lib/Gruntmaster/Page/Generic.pm +++ b/lib/Gruntmaster/Page/Generic.pm @@ -135,7 +135,7 @@ thing { $_->{owner_name} = $_->{rs}->owner->name; $_->{cansubmit} = $env->{'gruntmaster.contest'} ? time < db($env)->contest($env->{'gruntmaster.contest'})->stop : 1; eval { - db($env)->open->create({ + db($env)->opens->create({ contest => $env->{'gruntmaster.contest'}, problem => $_->{id}, owner => $env->{REMOTE_USER}, -- 2.39.2