MDL-34239 Blog: Editing blog associated with module will be keep it's association

This commit is contained in:
Rajesh Taneja
2012-07-27 14:01:08 +08:00
parent 55a568fa7d
commit 432a68805a
+1
View File
@@ -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'));