Fix some multi-year data problems with judges area of expertise

This commit is contained in:
james 2006-02-07 20:54:30 +00:00
parent b72c778ea1
commit 9cff01736d

View File

@ -123,7 +123,7 @@ else
if($expertise[$r->id]>=3) if($expertise[$r->id]>=3)
{ {
$subq=mysql_query("SELECT * FROM projectsubdivisions WHERE projectdivisions_id='$r->id' ORDER BY subdivision"); $subq=mysql_query("SELECT * FROM projectsubdivisions WHERE projectdivisions_id='$r->id' AND year='".$config['FAIRYEAR']."' ORDER BY subdivision");
while($subr=mysql_fetch_object($subq)) while($subr=mysql_fetch_object($subq))
{ {
echo "<tr>"; echo "<tr>";