]> git.mjollnir.org Git - moodle.git/commitdiff
And another notice in restore out. Bug 5711.
authorstronk7 <stronk7>
Sat, 3 Jun 2006 19:51:28 +0000 (19:51 +0000)
committerstronk7 <stronk7>
Sat, 3 Jun 2006 19:51:28 +0000 (19:51 +0000)
(http://moodle.org/bugs/bug.php?op=show&bugid=5711)

Merged from MOODLE_16_STABLE

backup/restore.php

index 0c217a473448054183a8850a7742881098372a18..e26cecd443111e30c4458be8047440aa068056f8 100644 (file)
     if (!$launch) {
         include_once("restore_precheck.html");
     } else if ($launch == "form") {
-        if ($SESSION->restore->importing) {
+        if (!empty($SESSION->restore->importing)) {
             // set up all the config stuff and skip asking the user about it.
             restore_setup_for_check($SESSION->restore,$backup_unique_code);
             include_once("restore_execute.html");