]> git.sesse.net Git - ccbs/commitdiff
Specify join, so that we don't join tournament+score on country. :-)
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 4 Apr 2005 01:46:44 +0000 (01:46 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 4 Apr 2005 01:46:44 +0000 (01:46 +0000)
html/tournaments.pl

index 8417b3c3af24bdd8e4baa57ea2e95607a739a271..3fc353172d2f23f5b46b6869ecc6d453dca79062 100755 (executable)
@@ -8,5 +8,5 @@ my $dbh = ccbs::db_connect();
 my $tournaments = ccbs::db_fetch_all($dbh, 'SELECT * FROM tournaments NATURAL JOIN seasons ORDER BY season, date');
 
 ccbs::print_header();
 my $tournaments = ccbs::db_fetch_all($dbh, 'SELECT * FROM tournaments NATURAL JOIN seasons ORDER BY season, date');
 
 ccbs::print_header();
-ccbs::process_template('tournaments.tmpl', 'Turneringer', { tournaments => $tournaments });
+ccbs::process_template('tournaments.tmpl', 'Tournaments', { tournaments => $tournaments });
 $dbh->disconnect;
 $dbh->disconnect;