From 8812e31233c38d00ca8ba41ac094aaa11e5d4af3 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 3 Jun 2006 19:51:28 +0000 Subject: [PATCH] And another notice in restore out. Bug 5711. (http://moodle.org/bugs/bug.php?op=show&bugid=5711) Merged from MOODLE_16_STABLE --- backup/restore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5