Fix database error when deleting a question - refs BT#5328

skala
Yannick Warnier 12 years ago
parent 7667e4232f
commit 359a838911
  1. 2
      main/exercice/question.class.php

@ -902,7 +902,7 @@ abstract class Question
* @return - boolean - true if removed, otherwise false
*/
function removeFromList($exerciseId) {
global $TBL_EXERCICE_QUESTION;
$TBL_EXERCICE_QUESTION = Database::get_course_table(TABLE_QUIZ_TEST_QUESTION);
$id = $this->id;

Loading…
Cancel
Save