X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fdo-add-tournament.pl;h=0ef54efd359acaed9a77894f4e62c46d5f0d919f;hp=02d5e167b7713d946bfac3787ba6a8a4c8bef004;hb=03d00e496b46d58a681b1231279d16bc24a16eda;hpb=24542029c8e4d89a755bf6882e6fbd49df6568fd diff --git a/html/do-add-tournament.pl b/html/do-add-tournament.pl index 02d5e16..0ef54ef 100755 --- a/html/do-add-tournament.pl +++ b/html/do-add-tournament.pl @@ -16,7 +16,7 @@ my $machine = $cgi->param('machine'); my $scoringsystem = $cgi->param('scoringsystem'); if ($date !~ /^ ( \d{4} - \d\d - \d\d ) $/x) { - ccbs::user_error("Ugyldig dato (må være på YYYY-MM-DD)."); + ccbs::user_error("Ugyldig dato (må være på formen YYYY-MM-DD)."); } $dbh->do('INSERT INTO tournaments (season, tournamentname, country, location, date, machine, scoringsystem) VALUES (?,?,?,?,?,?,?)',