Permalink
Browse files

Merge branch 'wip-MDL-30289-master' of git://github.com/abgreeve/moodle

  • Loading branch information...
2 parents 338b9ca + 6737aae commit 9dc97097b1429a7e068b713d52ac1283a8cbd41e @nebgor nebgor committed Nov 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/forum/post.php
View
@@ -460,6 +460,8 @@
$course = $DB->get_record('course', array('id' => $forum->course));
+ $PAGE->set_cm($cm);
+ $PAGE->set_context($modcontext);
$PAGE->navbar->add(format_string($post->subject, true), new moodle_url('/mod/forum/discuss.php', array('d'=>$discussion->id)));
$PAGE->navbar->add(get_string("prune", "forum"));
$PAGE->set_title(format_string($discussion->name).": ".format_string($post->subject));

0 comments on commit 9dc9709

Please sign in to comment.