Browse Source

Fix iid/id issues when using exporting/importing courses.

Julio Montoya 9 years ago
parent
commit
a9aec19920
2 changed files with 477 additions and 227 deletions
  1. 473 226
      main/coursecopy/classes/CourseRestorer.class.php
  2. 4 1
      main/coursecopy/copy_course.php

File diff suppressed because it is too large
+ 473 - 226
main/coursecopy/classes/CourseRestorer.class.php


+ 4 - 1
main/coursecopy/copy_course.php

@@ -30,7 +30,10 @@ if (function_exists('ini_set')) {
 }
 
 // Breadcrumbs
-$interbreadcrumb[] = array('url' => '../course_info/maintenance.php', 'name' => get_lang('Maintenance'));
+$interbreadcrumb[] = array(
+    'url' => '../course_info/maintenance.php?'.api_get_cidreq(),
+    'name' => get_lang('Maintenance'),
+);
 
 // The section (for the tabs)
 $this_section = SECTION_COURSES;

Some files were not shown because too many files changed in this diff