Permalink
Browse files

mod-forum MDL-25386 Fixed up the navigation for the forum.

  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Nov 29, 2010
1 parent d1d0788 commit c89fa3fe4cd0faf157b3791c88ba0e33017c369c
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/forum/discuss.php
View
@@ -158,9 +158,10 @@
if (empty($forumnode)) {
$forumnode = $PAGE->navbar;
} else {
- $forumnode->display = false;
+ $forumnode->make_active();
}
$node = $forumnode->add(format_string($discussion->name), new moodle_url('/mod/forum/discuss.php', array('d'=>$discussion->id)));
+ $node->display = false;
if ($node && $post->id != $discussion->firstpost) {
$node->add(format_string($post->subject), $PAGE->url);
}

0 comments on commit c89fa3f

Please sign in to comment.