From 359a83891183ae265954cf0bc75d00ccc95d8ccd Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 29 Nov 2012 20:55:32 -0500 Subject: [PATCH] Fix database error when deleting a question - refs BT#5328 --- main/exercice/question.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/exercice/question.class.php b/main/exercice/question.class.php index 8ed657aa39..8b38d3509b 100644 --- a/main/exercice/question.class.php +++ b/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;