MDL-19611 fixing regression - video icon disappeared

This commit is contained in:
skodak 2009-06-25 07:30:37 +00:00
parent 75b7cac00d
commit 09f8d75e32
2 changed files with 11 additions and 3 deletions

View file

@ -212,7 +212,7 @@
}
$mformclassname = 'mod_'.$module->name.'_mod_form';
$mform = new $mformclassname($form->instance, $cw->section, $cm);
$mform = new $mformclassname($form->instance, $cw->section, $cm, $course);
$mform->set_data($form);
if ($mform->is_cancelled()) {