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); |