瀏覽代碼

Fix copy exercise in sessions

root 7 年之前
父節點
當前提交
178eee13df
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      main/exercise/exercise.class.php

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

@@ -173,6 +173,7 @@ class Exercise
             $this->results_disabled = $object->results_disabled;
             $this->attempts = $object->max_attempt;
             $this->feedback_type = $object->feedback_type;
+            $this->sessionId = $object->session_id;
             $this->propagate_neg = $object->propagate_neg;
             $this->saveCorrectAnswers = $object->save_correct_answers;
             $this->randomByCat = $object->random_by_category;