Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
cafef98a
Commit
cafef98a
authored
Sep 15, 2017
by
Douglas Hall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENT-610 Convert CourseKey to string before passing to data sharing consent check function.
parent
53d52964
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lms/djangoapps/course_wiki/middleware.py
+1
-1
No files found.
lms/djangoapps/course_wiki/middleware.py
View file @
cafef98a
...
@@ -79,7 +79,7 @@ class WikiAccessMiddleware(object):
...
@@ -79,7 +79,7 @@ class WikiAccessMiddleware(object):
return
redirect
(
'about_course'
,
course_id
.
to_deprecated_string
())
return
redirect
(
'about_course'
,
course_id
.
to_deprecated_string
())
# If we need enterprise data sharing consent for this course, then redirect to the form.
# 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
:
if
consent_url
:
return
redirect
(
consent_url
)
return
redirect
(
consent_url
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment