use strict;
use warnings;
+ccbs::admin_only();
+
my $dbh = ccbs::db_connect();
my $cgi = new CGI;
$dbh->do('INSERT INTO tournamentparticipation (tournament, player, paid) VALUES (?,?,?)',
undef, $tournament, $player, $paid);
-ccbs::print_see_other('registration.pl?id=$tournament');
+ccbs::print_see_other('registration.pl?id=' . $tournament);
$dbh->disconnect;