Bug-Fix: Enrolment objects were not initialized correctly. Missing variable initialization (customvalueint6 was null).
Wrong config data was read in course initialization.
New Feature: Guest enrollment plug-in is initialized (but disabled) during course creation.

Now guest enrollment can be enabled on course/edit.php
Prevent warning due to empty parameter.