Permalink
Browse files

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

… association
  • Loading branch information...
1 parent 6975216 commit def687a6a26dca4c521ebc03bf9cde9c78197c47 @rajeshtaneja rajeshtaneja committed Jul 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 blog/edit_form.php
View
@@ -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 def687a

Please sign in to comment.