Permalink
Browse files

Added suport to new restoreto options

  • Loading branch information...
1 parent ed8ee09 commit 642ac8485598c9e45f939882a812e22c965ee172 stronk7 committed Aug 2, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restorelib.php
View
@@ -339,7 +339,7 @@ function restore_create_sections($restore,$xml_file) {
$section->sequence = "";
//Now calculate the section's newid
$newid = 0;
- if ($restore->restoreto == 1) {
+ if ($restore->restoreto == 2) {
//Save it to db (only if restoring to new course)
$newid = insert_record("course_sections",$section);
} else {

0 comments on commit 642ac84

Please sign in to comment.