Bug in course enrolment check

There is no courses field in the courses table, so the query always fails (silently) and no rows are returned, resulting in no forum news ever displayed. We should be checking against courses.course_id, not courses.courses.