From 9cff01736d5e04279311c5dc0f67e3d6b27cb167 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 7 Feb 2006 20:54:30 +0000 Subject: [PATCH] Fix some multi-year data problems with judges area of expertise --- register_judges_expertise.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "";