Fix report to work with mysql5 -- need to join tables in the correct order.

This commit is contained in:
james 2007-11-14 22:44:01 +00:00
parent 1f31bc124c
commit abe32b69ae

View File

@ -67,9 +67,9 @@
projectcategories.category
FROM
registrations
LEFT JOIN projects ON projects.registrations_id=registrations.id
LEFT JOIN projectdivisions ON projectdivisions.id=projects.projectdivisions_id
LEFT JOIN projectcategories ON projectcategories.id=projects.projectcategories_id
LEFT JOIN projects on projects.registrations_id=registrations.id
WHERE
projects.year='".$config['FAIRYEAR']."'