mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-19611 fixing regression - video icon disappeared
This commit is contained in:
parent
75b7cac00d
commit
09f8d75e32
2 changed files with 11 additions and 3 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue