diff --git a/main/exercise/exercise_show.php b/main/exercise/exercise_show.php index ea24e44583..58a2809b3c 100755 --- a/main/exercise/exercise_show.php +++ b/main/exercise/exercise_show.php @@ -835,7 +835,7 @@ foreach ($questionList as $questionId) { $score['comments'] = isset($comnt) ? $comnt : null; } - if (in_array($objQuestionTmp->type, [FREE_ANSWER, ORAL_EXPRESSION])) { + if (in_array($objQuestionTmp->type, [FREE_ANSWER, ORAL_EXPRESSION, ANNOTATION])) { $check = $objQuestionTmp->isQuestionWaitingReview($score); if ($check === false) { $countPendingQuestions++; diff --git a/main/exercise/question.class.php b/main/exercise/question.class.php index 5f9e30713b..835c0dcce6 100755 --- a/main/exercise/question.class.php +++ b/main/exercise/question.class.php @@ -1935,7 +1935,7 @@ abstract class Question $class = 'success'; } - if ($this->type == FREE_ANSWER || $this->type == ORAL_EXPRESSION) { + if (in_array($this->type, [FREE_ANSWER, ORAL_EXPRESSION, ANNOTATION])) { $score['revised'] = isset($score['revised']) ? $score['revised'] : false; if ($score['revised'] == true) { $score_label = get_lang('Revised');