From 59c2809ef51adc3f6298968b74a53218692e29f9 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 21 Jan 2009 18:33:46 +0000 Subject: [PATCH] - Load from the sponsor table, instead of the awards_sponsor table --- judge_special_awards.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/judge_special_awards.php b/judge_special_awards.php index 8140e8b..dab6f85 100644 --- a/judge_special_awards.php +++ b/judge_special_awards.php @@ -96,14 +96,14 @@ if($_SESSION['embed'] == true) { $q=mysql_query("SELECT award_awards.id, award_awards.name, award_awards.criteria, - award_sponsors.organization + sponsors.organization FROM award_awards, award_types, - award_sponsors + sponsors WHERE award_types.id=award_awards.award_types_id - AND award_sponsors.id=award_awards.award_sponsors_id + AND sponsors.id=award_awards.sponsors_id AND (award_types.type='Special' OR award_types.type='Other') AND award_awards.year='{$config['FAIRYEAR']}' AND award_types.year='{$config['FAIRYEAR']}'