Skip to content

Commit

Permalink
MDL-34239 Blog: Editing blog associated with module will be keep it's…
Browse files Browse the repository at this point in the history
… association
  • Loading branch information
Rajesh Taneja committed Jul 27, 2012
1 parent 55a568f commit 432a688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blog/edit_form.php
Expand Up @@ -101,6 +101,7 @@ function definition() {
$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'));
Expand Down

0 comments on commit 432a688

Please sign in to comment.