diff --git a/register_judges_expertise.php b/register_judges_expertise.php index 094319d..9ca9ef5 100644 --- a/register_judges_expertise.php +++ b/register_judges_expertise.php @@ -123,7 +123,7 @@ else 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)) { echo "";