From: jamiesensei Date: Fri, 17 Aug 2007 09:53:00 +0000 (+0000) Subject: Fix for notice on first page of restore. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7c1c94872e9e453dbb18c489539b5cfa12b88d29;p=moodle.git Fix for notice on first page of restore. --- diff --git a/backup/restorelib.php b/backup/restorelib.php index 80658e5ed3..68d5494226 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -464,7 +464,7 @@ $elem++; //site Files info $tab[$elem][0] = "".get_string("sitefiles").":"; - if ($info->backup_site_files == "true") { + if (isset($info->backup_site_files) && $info->backup_site_files == "true") { $tab[$elem][1] = get_string("yes"); } else { $tab[$elem][1] = get_string("no");