Added suport to new restoreto options

This commit is contained in:
stronk7 2003-08-02 23:37:41 +00:00
parent ed8ee0910c
commit 642ac84855

View File

@ -339,7 +339,7 @@
$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 {