Minor - format code.
Drh can enter to a course as an student see BT#6770 a setting in configuration must be set before.