From 4b245289b9189dd8a90a8803b195e82ddb186f68 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 2 Oct 2007 21:37:09 +0000 Subject: [PATCH] Fix a bug on the special award nominations where the list of eligible awards wasnt restricted to the current fairyear --- projects.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects.inc.php b/projects.inc.php index 1b3c019..e440b74 100644 --- a/projects.inc.php +++ b/projects.inc.php @@ -115,6 +115,8 @@ function getSpecialAwardsEligibleForProject($projectid) AND award_awards.id is not null AND projects.year='".$config['FAIRYEAR']."' AND projects.id='$projectid' + AND award_types.year='".$config['FAIRYEAR']."' + AND award_awards.year='".$config['FAIRYEAR']."' ORDER BY award_awards.name ");