add scoring questions with the type: istina-loz

This commit is contained in:
iIronside 2021-11-15 17:15:59 +03:00
parent 87121dbdc8
commit f7c8ab4de6

View File

@ -64,6 +64,9 @@ class ScoreCalculatorHelper
case '3': // multi answer case '3': // multi answer
$score += $response_question['question']['score'] / self::correctAnswersNum($response_question['question']['id']); $score += $response_question['question']['score'] / self::correctAnswersNum($response_question['question']['id']);
break; break;
case '4': // istina-loz
$score += $response_question['question']['score'];
break;
} }
} }
} }