Browse Source

Fix table name

jmontoyaa 9 years ago
parent
commit
da20d81947
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/exercice/exercise.class.php

+ 1 - 1
main/exercice/exercise.class.php

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