From 43c90ed1f888f3d079cfb39bdd5864a27679c06c Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 2 Sep 2008 16:10:51 +0000 Subject: [PATCH] MDL-16232 - fix bad link in portfolio breadcrumbs --- mod/forum/lib.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 2404537d2d..c26bc7bfba 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -7203,8 +7203,14 @@ class forum_portfolio_caller extends portfolio_module_caller_base { } function get_navigation() { + global $CFG; + $navlinks = array(); - $navlinks[] = array('name' => format_string($this->discussion->name), 'link' => 'discuss.php?d=' . $this->discussion->id, 'type' => 'title'); + $navlinks[] = array( + 'name' => format_string($this->discussion->name), + 'link' => $CFG->wwwroot . '/mod/forum/discuss.php?d=' . $this->discussion->id, + 'type' => 'title' + ); return array($navlinks, $this->cm); } -- 2.39.5