From fb2fcf3af54ca02b21cb62a0b26db9883a27701e Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 24 Aug 2003 14:46:52 +0000 Subject: [PATCH] Added some optional_variables to avoid some NOTICES --- backup/backup.php | 2 ++ backup/restore.php | 2 ++ 2 files changed, 4 insertions(+) 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(); -- 2.39.5