Minor - flint fixes

pull/2837/head
Julio Montoya 6 years ago
parent f78b85b4bd
commit 9ad3bee54f
  1. 4
      main/exercise/exercise.class.php
  2. 2
      main/exercise/question_list_admin.inc.php
  3. 2
      main/exercise/question_pool.php

@ -1032,8 +1032,8 @@ class Exercise
* returns the array with the question ID list.
*
* @param bool $fromDatabase Whether the results should be fetched in the database or just from memory
* @param bool $adminView Whether we should return all questions (admin view) or
* just a list limited by the max number of random questions
* @param bool $adminView Whether we should return all questions (admin view) or
* just a list limited by the max number of random questions
*
* @author Olivier Brouckaert
*

@ -203,7 +203,7 @@ if (!$inATest) {
$questionList = $objExercise->selectQuestionList(true, true);
}
echo '
echo '
<div class="row hidden-xs">
<div class="col-sm-5"><strong>'.get_lang('Questions').'</strong></div>
<div class="col-sm-1 text-center"><strong>'.get_lang('Type').'</strong></div>

@ -467,7 +467,7 @@ function getQuestions(
$exerciseLevel = (int) $exerciseLevel;
$answerType = (int) $answerType;
$questionId = (int) $questionId;
$description = Database::escape_string($description);
$description = Database::escape_string($description);
$TBL_EXERCISE_QUESTION = Database::get_course_table(TABLE_QUIZ_TEST_QUESTION);
$TBL_EXERCISES = Database::get_course_table(TABLE_QUIZ_TEST);

Loading…
Cancel
Save