Only show teams for the current conference now that teams have a conference :)

This commit is contained in:
james 2010-06-16 17:57:51 +00:00
parent 4c56a33d7c
commit dad86ce72b

View File

@ -89,9 +89,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']){
echo " <th>".i18n("Action")."</th>";
echo "</tr>";
//FIXME: replace when jacob fixes the so_teams table
//$query="SELECT * FROM so_teams WHERE schools_id='{$school->id}' AND conferences_id='{$conference['id']}'";
$query="SELECT * FROM so_teams WHERE schools_id='{$school->id}'";
$query="SELECT * FROM so_teams WHERE schools_id='{$school->id}' AND conferences_id='{$conference['id']}'";
$tq=mysql_query($query);
echo mysql_error();