Commit a4e16c5e by Jonathan Piacenti

discussion-integration: Fixed call to safe_content in x_module.

parent 8ef293b6
......@@ -1266,7 +1266,7 @@ class DiscussionService(object):
user_cohort_id = get_cohort_id(user, course_id)
unsafethreads, query_params = get_threads(request, course_id)
threads = [utils.safe_content(thread) for thread in unsafethreads]
threads = [utils.safe_content(thread, course_id) for thread in unsafethreads]
flag_moderator = cached_has_permission(user, 'openclose_thread', course_id) or \
has_access(user, 'staff', course)
......
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