MDL-34239 Blog: Editing blog associated with module will be keep it's association
This commit is contained in:
@@ -101,6 +101,7 @@ class blog_edit_form extends moodleform {
|
||||
$a = new stdClass();
|
||||
$a->modtype = $DB->get_field('modules', 'name', array('id' => $cm->module));
|
||||
$a->modname = $DB->get_field($a->modtype, 'name', array('id' => $cm->instance));
|
||||
$modid = $context->instanceid;
|
||||
}
|
||||
|
||||
$mform->addElement('header', 'assochdr', get_string('associations', 'blog'));
|
||||
|
||||
Reference in New Issue
Block a user