From: stronk7 Date: Sat, 3 Jun 2006 19:51:28 +0000 (+0000) Subject: And another notice in restore out. Bug 5711. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8812e31233c38d00ca8ba41ac094aaa11e5d4af3;p=moodle.git And another notice in restore out. Bug 5711. (http://moodle.org/bugs/bug.php?op=show&bugid=5711) Merged from MOODLE_16_STABLE --- diff --git a/backup/restore.php b/backup/restore.php index 0c217a4734..e26cecd443 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -140,7 +140,7 @@ 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");