From 220c7a6fb16c4a8208970588567d15d93cb15cd0 Mon Sep 17 00:00:00 2001 From: james Date: Sat, 4 Mar 2006 05:22:26 +0000 Subject: [PATCH] Fix the winners list when there's multi-year data in the award_types table. --- admin/winners.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/winners.php b/admin/winners.php index 169bc38..53d397a 100644 --- a/admin/winners.php +++ b/admin/winners.php @@ -246,6 +246,7 @@ else WHERE award_awards.year='".$config['FAIRYEAR']."' AND award_awards.award_types_id=award_types.id + AND award_types.year='".$config['FAIRYEAR']."' ORDER BY awards_order"); echo mysql_error();