Made course_edit_enrollment_action more flexible, to pull the arguments from context instead of arg(1). Note that the argument being passed to course_edit_enrollment_action is an enrollment ID.