diff --git a/lms/djangoapps/ccx/views.py b/lms/djangoapps/ccx/views.py index df5684d8db..cabb554b63 100644 --- a/lms/djangoapps/ccx/views.py +++ b/lms/djangoapps/ccx/views.py @@ -420,7 +420,7 @@ def ccx_invite(request, course, ccx=None): action = request.POST.get('enrollment-button') identifiers_raw = request.POST.get('student-ids') identifiers = _split_input_list(identifiers_raw) - auto_enroll = True if 'auto-enroll' in request.POST else False + auto_enroll = True email_students = True if 'email-students' in request.POST else False for identifier in identifiers: user = None diff --git a/lms/templates/ccx/enrollment.html b/lms/templates/ccx/enrollment.html index c26dfac6f7..e09825817f 100644 --- a/lms/templates/ccx/enrollment.html +++ b/lms/templates/ccx/enrollment.html @@ -13,7 +13,7 @@