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
1ce71942
Commit
1ce71942
authored
Oct 23, 2014
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
discussion-integration: Fixed call to prepare_content in x_module.
parent
0ec2e643
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
common/lib/xmodule/xmodule/x_module.py
+1
-1
No files found.
common/lib/xmodule/xmodule/x_module.py
View file @
1ce71942
...
...
@@ -1599,7 +1599,7 @@ class DiscussionService(object):
user_cohort_id
=
get_cohort_id
(
user
,
course_id
)
unsafethreads
,
query_params
=
get_threads
(
request
,
course_id
)
threads
=
[
utils
.
prepare_content
(
thread
)
for
thread
in
unsafethreads
]
threads
=
[
utils
.
prepare_content
(
thread
,
course_id
)
for
thread
in
unsafethreads
]
flag_moderator
=
has_permission
(
user
,
'openclose_thread'
,
course_id
)
or
\
has_access
(
user
,
'staff'
,
course
)
...
...
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