Commit cafef98a by Douglas Hall

ENT-610 Convert CourseKey to string before passing to data sharing consent check function.

parent 53d52964
......@@ -79,7 +79,7 @@ class WikiAccessMiddleware(object):
return redirect('about_course', course_id.to_deprecated_string())
# If we need enterprise data sharing consent for this course, then redirect to the form.
consent_url = get_enterprise_consent_url(request, course_id)
consent_url = get_enterprise_consent_url(request, unicode(course_id))
if consent_url:
return redirect(consent_url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment