Add form (no backend yet) for registering new players.
[ccbs] / html / do-registration.pl
index a81e48a..36c5e2f 100755 (executable)
@@ -14,6 +14,6 @@ my $paid = $cgi->param('paid');
 $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;