Avoid one notice in backup. Bug 5709.

(http://moodle.org/bugs/bug.php?op=show&bugid=5709&)
This commit is contained in:
stronk7
2006-06-03 18:59:35 +00:00
parent 4eb4b874ba
commit 0803379406
+3 -1
View File
@@ -117,7 +117,9 @@
//Call the form, depending the step we are
if (!$launch) {
// if we're at the start, clear the cache of prefs
unset($SESSION->backupprefs[$course->id]);
if (isset($SESSION->backupprefs[$course->id])) {
unset($SESSION->backupprefs[$course->id]);
}
include_once("backup_form.html");
} else if ($launch == "check") {
include_once("backup_check.html");