From cf8f539c4846b4ff7dc4d4ff78f7aa8bc9653a6b Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 19 Mar 2007 07:49:21 +0000 Subject: [PATCH] - Missed a year check --- register_participants_main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register_participants_main.php b/register_participants_main.php index 087bdbe..da5d85c 100644 --- a/register_participants_main.php +++ b/register_participants_main.php @@ -268,7 +268,7 @@ echo "
"; } } - $q=mysql_query("SELECT * FROM projects WHERE registrations_id='".$_SESSION['registration_id']."'"); + $q=mysql_query("SELECT * FROM projects WHERE registrations_id='".$_SESSION['registration_id']."' AND year='{$config['FAIRYEAR']}'"); $project=mysql_fetch_object($q); $nominatedawards=getSpecialAwardsNominatedForProject($project->id); $num=count($nominatedawards);