main/exercice/exercise.class.php 1 location
|
@@ 3230-3235 (lines=6) @@
|
3227 |
|
error_log('$answerType: '.$answerType); |
3228 |
|
} |
3229 |
|
|
3230 |
|
if ($answerType == FREE_ANSWER || |
3231 |
|
$answerType == ORAL_EXPRESSION || |
3232 |
|
$answerType == CALCULATED_ANSWER |
3233 |
|
) { |
3234 |
|
$nbrAnswers = 1; |
3235 |
|
} |
3236 |
|
|
3237 |
|
$nano = null; |
3238 |
|
|
main/inc/lib/exercise.lib.php 1 location
|
@@ 92-97 (lines=6) @@
|
89 |
|
$objAnswerTmp = new Answer($questionId); |
90 |
|
$nbrAnswers = $objAnswerTmp->selectNbrAnswers(); |
91 |
|
|
92 |
|
if ($answerType == FREE_ANSWER || |
93 |
|
$answerType == ORAL_EXPRESSION || |
94 |
|
$answerType == CALCULATED_ANSWER |
95 |
|
) { |
96 |
|
$nbrAnswers = 1; |
97 |
|
} |
98 |
|
|
99 |
|
$quiz_question_options = Question::readQuestionOption( |
100 |
|
$questionId, |