Permalink
Browse files

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

… association
  • Loading branch information...
1 parent 55a568f commit 432a68805a0313631b5ae514b2ac0f2f8a1e455e @rajeshtaneja rajeshtaneja committed Jul 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 blog/edit_form.php
View
1 blog/edit_form.php
@@ -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'));

0 comments on commit 432a688

Please sign in to comment.