]> git.mjollnir.org Git - moodle.git/commitdiff
Added some optional_variables to avoid some NOTICES
authorstronk7 <stronk7>
Sun, 24 Aug 2003 14:46:52 +0000 (14:46 +0000)
committerstronk7 <stronk7>
Sun, 24 Aug 2003 14:46:52 +0000 (14:46 +0000)
backup/backup.php
backup/restore.php

index 6aceeebbbee55d1672a14532dc33696986bac085..514523d679d9844eb2d0943f4b1a476e3af6f44d 100644 (file)
@@ -8,6 +8,8 @@
     require_once ("backuplib.php");
 
     optional_variable($id);       // course id
+    optional_variable($cancel);
+    optional_variable($launch);
 
     require_login();
 
index 00edb182b76040fcd6ef7c46f7abd2686aaf84b4..a6d9f9942a75240ab0d2627c0507ab9382000a43 100644 (file)
@@ -13,6 +13,8 @@
     //Optional
     optional_variable($id);
     optional_variable($file);
+    optional_variable($cancel);
+    optional_variable($launch);
 
     //Check login       
     require_login();