This commit is contained in:
Ross
2021-02-16 17:16:01 +00:00
parent c3d5c8ec6c
commit 753b020ce7
+2
View File
@@ -682,6 +682,8 @@ def mark_answer(request, pk, sk, tk):
try:
unmarked = question.GetUnmarkedAnswers()
next_unmarked_id = unmarked[0].cid
if next_unmarked_id == tk:
next_unmarked_id = unmarked[1].cid
except IndexError:
next_unmarked_id = False