]> git.sesse.net Git - ccbs/blobdiff - html/do-set-active-tournament.pl
Reset bigscreen on changed groups, not just changed tournaments.
[ccbs] / html / do-set-active-tournament.pl
index 4405e4270c02b67c4eb11df39cd6760a8c5488eb..c27ebf5b18599445eab4c20d1f5d8bcdf32c52df 100755 (executable)
@@ -10,7 +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_groups');
 $dbh->do('DELETE FROM bigscreen.active_tournament');
 if ($tournament != -1) {
        $dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament);