From 22de8cbfd80eabf4b34985d8ced3f3232f9b052d Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 18 Mar 2022 19:24:23 -0500 Subject: [PATCH] Exercise: Fix missing function showQuestion Fix #4210 --- main/exercise/exercise.class.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index f096235293..7c7f414141 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -8003,19 +8003,15 @@ class Exercise // Shows the question + possible answers $showTitle = $this->getHideQuestionTitle() == 1 ? false : true; - echo $this->showQuestion( + echo ExerciseLib::showQuestion( + $this, $question_obj, false, $origin, $i, $showTitle, false, - $user_choice, - false, - null, - false, - $this->getModelType(), - $this->categoryMinusOne + $user_choice ); // Button save and continue