X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fdo-set-active-tournament.pl;h=4405e4270c02b67c4eb11df39cd6760a8c5488eb;hp=297cc6c71ab59d4d79626a54532629bc2a4cca45;hb=3200c9792d41a6a7a5edea7747fd613fae609798;hpb=30242c3b02e59866f05eb99872d247ccdeda513f;ds=sidebyside diff --git a/html/do-set-active-tournament.pl b/html/do-set-active-tournament.pl index 297cc6c..4405e42 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_rounds'); $dbh->do('DELETE FROM bigscreen.active_tournament'); if ($tournament != -1) { $dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament);