]> git.mjollnir.org Git - moodle.git/commitdiff
Changing to use require_param meant that restore session was not cleared, causing...
authorsam_marshall <sam_marshall>
Mon, 10 Apr 2006 11:49:48 +0000 (11:49 +0000)
committersam_marshall <sam_marshall>
Mon, 10 Apr 2006 11:49:48 +0000 (11:49 +0000)
backup/restore_check.html

index 1461f729ef31a13aeae05d0be60077b9771a1626..5537c04d2aa54cb79471e5213bc8b7204da768c8 100644 (file)
@@ -16,7 +16,7 @@
 
     //If restore session info exists, but we are posting parameters
     //manually, this has prioriry
-    if (isset($restore) and isset($restore_restoreto)) {
+    if (isset($restore) and isset($_POST['restore_restoreto'])) {
         unset($restore);
     }