From 642ac8485598c9e45f939882a812e22c965ee172 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 2 Aug 2003 23:37:41 +0000 Subject: [PATCH] Added suport to new restoreto options --- backup/restorelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index 6112eda313..29718af133 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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 { -- 2.39.5