]> git.sesse.net Git - ccbs/blobdiff - html/templates/set-active-tournament.tmpl
Fixed so the form shows the current active tournament.
[ccbs] / html / templates / set-active-tournament.tmpl
index cce163ae4b92e2f8b5b04c24bb2acc30e7462428..e37f9ab7dcd3885830bdd2fc982ffb5fdf08a57f 100644 (file)
@@ -14,7 +14,7 @@
       <option value="-1"> </option>
 [% END %]
 [% FOR t = tournaments %]
-[% IF t.tournament == selected_tournament %]
+[% IF t.tournament == active_tournament %]
       <option value="[% t.tournament %]" selected="selected">[% t.tournamentname %]</option>
 [% ELSE %]
       <option value="[% t.tournament %]">[% t.tournamentname %]</option>