Issue #2381449 by bobojo: Fixed Notice: Undefined variable: forms in course_forms().