Fix zero reply_id

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent e7962bb00d
commit 0a0043cbdb
  1. 2
      apps/course/views.py

@ -57,7 +57,7 @@ def coursecomment(request, course_id):
'errors': ['Comment can not be empty']
}, status=400)
if not reply_to:
if not int(reply_to):
coursecomment = CourseComment.objects.create(
author=request.user,
content=comment,

Loading…
Cancel
Save