Use 1 setting instead of 2

1.10.x
jmontoyaa 9 years ago
parent 7f42c3251a
commit cede17daf3
  1. 2
      main/exercice/exercise.class.php

@ -1716,7 +1716,7 @@ class Exercise
$sql = "UPDATE $TBL_EXERCISES SET id = iid WHERE iid = {$this->id} ";
Database::query($sql);
if ($this->quizRelCategoryTable) {
if ($this->specialCategoryOrders) {
$sql = "UPDATE $TBL_EXERCICES
SET question_selection_type= ".intval($this->getQuestionSelectionType())."
WHERE id = ".$this->id." AND c_id = ".$this->course_id;

Loading…
Cancel
Save