Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 9dc97097b1429a7e068b713d52ac1283a8cbd41e 2 parents 338b9ca + 6737aae
@nebgor nebgor authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mod/forum/post.php
View
2  mod/forum/post.php
@@ -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));
Please sign in to comment.
Something went wrong with that request. Please try again.