From ff8290cb87eced2991d8919fa086eeba5a2fb304 Mon Sep 17 00:00:00 2001 From: Nicolas Ducoulombier Date: Fri, 15 Apr 2016 12:12:02 +0200 Subject: [PATCH] Fix table name --- main/exercice/exercise.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/exercice/exercise.class.php b/main/exercice/exercise.class.php index 18a011ac3e..33a61274bc 100755 --- a/main/exercice/exercise.class.php +++ b/main/exercice/exercise.class.php @@ -1718,7 +1718,7 @@ class Exercise Database::query($sql); if ($this->specialCategoryOrders) { - $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);