X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fdo-set-active-round.pl;h=00393ac62b970071a916c4702b633d2731533dfa;hp=c98a478dc9a1320804cde5020167e50506fdcb58;hb=914b810749b54bb07e1944e558015d6c8f615528;hpb=98c75538a60914997d5815f0483ddf7284d285f6 diff --git a/html/do-set-active-round.pl b/html/do-set-active-round.pl index c98a478..00393ac 100755 --- a/html/do-set-active-round.pl +++ b/html/do-set-active-round.pl @@ -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); }