diff --git a/app/home/home_menu.html b/app/home/home_menu.html index 5a33500f53..e69de29bb2 100644 --- a/app/home/home_menu.html +++ b/app/home/home_menu.html @@ -1 +0,0 @@ -
  • Forum
  • \ No newline at end of file diff --git a/main/mySpace/myStudents.php b/main/mySpace/myStudents.php index 1a7ec53eb6..ea7b9503ee 100755 --- a/main/mySpace/myStudents.php +++ b/main/mySpace/myStudents.php @@ -1350,7 +1350,8 @@ if (empty($details)) { .http_build_query( [ 'action' => 'export_one_session_row', - 'export' => 'xls', + 'export' => 'xls', + 'student' => $student_id, 'session_to_export' => $sId, ] ) diff --git a/src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php b/src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php index f85642f5d6..2995bc0f43 100644 --- a/src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php +++ b/src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php @@ -2278,6 +2278,10 @@ class CourseRestorer */ public function restore_test_category($session_id, $respect_base_content, $destination_course_code) { + if (!empty($session_id)) { + return false; + } + $destinationCourseId = $this->destination_course_info['real_id']; // Let's restore the categories $categoryOldVsNewList = []; // used to build the quiz_question_rel_category table