Fix AC script for new sponsors format

This commit is contained in:
james 2009-01-21 20:13:02 +00:00
parent 496b18d2e2
commit f25a6d1e6b

View File

@ -55,16 +55,16 @@
award_awards.description,
award_awards.order AS awards_order,
award_types.type,
award_sponsors.organization
sponsors.organization
FROM
award_awards,
award_types,
award_sponsors
sponsors
WHERE
award_awards.year='$foryear'
AND award_types.year='$foryear'
AND award_awards.award_types_id=award_types.id
AND award_awards.award_sponsors_id=award_sponsors.id
AND award_awards.sponsors_id=sponsors.id
AND award_awards.excludefromac='0'
$awardtype
ORDER BY awards_order");