From 0fd6dddbaeb5e4af6ac4f8e6711915f5a58435ed Mon Sep 17 00:00:00 2001 From: Will Daly Date: Tue, 9 Dec 2014 08:31:03 -0500 Subject: [PATCH] Fix reference error with emailOptIn variable --- lms/templates/courseware/mktg_course_about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/courseware/mktg_course_about.html b/lms/templates/courseware/mktg_course_about.html index 8b3f74fe85..22322392d2 100644 --- a/lms/templates/courseware/mktg_course_about.html +++ b/lms/templates/courseware/mktg_course_about.html @@ -58,7 +58,7 @@ } ## Ugh. - window.top.location.href = $("a.register").attr("href") || "${reverse('register_user')}?course_id=${course.id | u}&enrollment_action=enroll&email_opt_in=" + email_opt_in; + window.top.location.href = $("a.register").attr("href") || "${reverse('register_user')}?course_id=${course.id | u}&enrollment_action=enroll&email_opt_in=" + emailOptIn; } else { $('#register_error').html( (xhr.responseText ? xhr.responseText : "${_("An error occurred. Please try again later.")}")