Commit ffec9c48 by David Ormsbee

Merge pull request #1626 from MITx/fix/cale/module-render-500-fix

Fix https://edx.lighthouseapp.com/projects/101932-lms/tickets/237-Produc...
parents 5644d081 a44c0932
......@@ -500,7 +500,7 @@ def modx_dispatch(request, dispatch, location, course_id):
if instance is None:
# Either permissions just changed, or someone is trying to be clever
# and load something they shouldn't have access to.
log.debug("No module {0} for user {1}--access denied?".format(location, user))
log.debug("No module {0} for user {1}--access denied?".format(location, request.user))
raise Http404
instance_module = get_instance_module(course_id, request.user, instance, student_module_cache)
......
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