MDL-23255 fixed inverted isset preventing visibility change in course edit form ...