forked from science-ation/science-ation
Fix the winners list when there's multi-year data in the award_types table.
This commit is contained in:
parent
f0fdca1ba0
commit
220c7a6fb1
@ -246,6 +246,7 @@ else
|
|||||||
WHERE
|
WHERE
|
||||||
award_awards.year='".$config['FAIRYEAR']."'
|
award_awards.year='".$config['FAIRYEAR']."'
|
||||||
AND award_awards.award_types_id=award_types.id
|
AND award_awards.award_types_id=award_types.id
|
||||||
|
AND award_types.year='".$config['FAIRYEAR']."'
|
||||||
ORDER BY awards_order");
|
ORDER BY awards_order");
|
||||||
|
|
||||||
echo mysql_error();
|
echo mysql_error();
|
||||||
|
Loading…
Reference in New Issue
Block a user