From: stronk7 Date: Sun, 24 Aug 2003 14:46:52 +0000 (+0000) Subject: Added some optional_variables to avoid some NOTICES X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fb2fcf3af54ca02b21cb62a0b26db9883a27701e;p=moodle.git Added some optional_variables to avoid some NOTICES --- diff --git a/backup/backup.php b/backup/backup.php index 6aceeebbbe..514523d679 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -8,6 +8,8 @@ require_once ("backuplib.php"); optional_variable($id); // course id + optional_variable($cancel); + optional_variable($launch); require_login(); diff --git a/backup/restore.php b/backup/restore.php index 00edb182b7..a6d9f9942a 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -13,6 +13,8 @@ //Optional optional_variable($id); optional_variable($file); + optional_variable($cancel); + optional_variable($launch); //Check login require_login();