Skip to content

Commit

Permalink
Added some optional_variables to avoid some NOTICES
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 24, 2003
1 parent 52cef09 commit fb2fcf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backup/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
require_once ("backuplib.php");

optional_variable($id); // course id
optional_variable($cancel);
optional_variable($launch);

require_login();

Expand Down
2 changes: 2 additions & 0 deletions backup/restore.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
//Optional
optional_variable($id);
optional_variable($file);
optional_variable($cancel);
optional_variable($launch);

//Check login
require_login();
Expand Down

0 comments on commit fb2fcf3

Please sign in to comment.