]> git.sesse.net Git - ccbs/blobdiff - html/do-set-active-round.pl
(no commit message)
[ccbs] / html / do-set-active-round.pl
index c98a478dc9a1320804cde5020167e50506fdcb58..00393ac62b970071a916c4702b633d2731533dfa 100755 (executable)
@@ -16,7 +16,7 @@ $dbh->{AutoCommit} = 0;
 $dbh->do('DELETE FROM bigscreen.active_groups WHERE tournament=? AND round=? AND parallel=?', undef,
        $tournament, $round, $parallel);
 if ($cgi->param('show') eq 'true') {
-       $dbh->do('INSERT INTO bigscreen.active_groups (tournament, round, parallel, last_updated) VALUES (?,?,?,now())',
+       $dbh->do('INSERT INTO bigscreen.active_groups (tournament, round, parallel, num_machines, last_updated) VALUES (?,?,?,1,now())',
                undef, $tournament, $round, $parallel);
 }