Permalink
Browse files

Changes for robustness

  • Loading branch information...
1 parent d2cded3 commit c2045f3436fb813c5a0bc446a20a145fda7e1f1b moodler committed Jan 1, 2003
Showing with 2 additions and 1 deletion.
  1. +2 −1 course/mod.php
View
@@ -237,7 +237,8 @@
$form->course = $course->id;
$form->module = $module->id;
$form->modulename = $module->name;
- $form->instance = $cm->instance;
+ $form->instance = "";
+ $form->coursemodule = "";
$form->mode = "add";
$sectionname = get_string("name$course->format");

0 comments on commit c2045f3

Please sign in to comment.