X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fdo-set-active-tournament.pl;h=c27ebf5b18599445eab4c20d1f5d8bcdf32c52df;hp=297cc6c71ab59d4d79626a54532629bc2a4cca45;hb=1c6ee3e8264d2d8d03f470a5781cb8c774336af1;hpb=30242c3b02e59866f05eb99872d247ccdeda513f diff --git a/html/do-set-active-tournament.pl b/html/do-set-active-tournament.pl index 297cc6c..c27ebf5 100755 --- a/html/do-set-active-tournament.pl +++ b/html/do-set-active-tournament.pl @@ -10,6 +10,7 @@ my $cgi = new CGI; my $tournament = $cgi->param('tournament'); $dbh->{AutoCommit} = 0; +$dbh->do('DELETE FROM bigscreen.active_groups'); $dbh->do('DELETE FROM bigscreen.active_tournament'); if ($tournament != -1) { $dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament);