Skip to content

Commit

Permalink
SAK-44452 - None of the above isn't checked when it is the answer on …
Browse files Browse the repository at this point in the history
…grading Questions (sakaiproject#8679)
  • Loading branch information
jonespm authored Oct 13, 2020
1 parent 54bbbba commit 340d9f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public List<AnswerIfc> getAnswerArrayWithDistractorSorted() {
distractor.setId(new Long(0));
distractor.setLabel(rb.getString("choice_labels").split(":")[answersSorted.size()]);
distractor.setText("none_above");
distractor.setIsCorrect(false);
distractor.setIsCorrect(!hasCorrectAnswers());
distractor.setScore(this.getItem().getScore());
distractor.setSequence(new Long(answers.size()));
answers.add(distractor);
Expand Down

0 comments on commit 340d9f0

Please sign in to comment.