From f14d4122dfed40e7df49a9b3bed0eee9b894812f Mon Sep 17 00:00:00 2001 From: David Monllao Date: Tue, 23 Apr 2013 11:12:51 +0800 Subject: [PATCH] MDL-29258 core_portfolio: Fixing broken default breadcrumb --- lib/portfolio/caller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/portfolio/caller.php b/lib/portfolio/caller.php index 1a3fd3e9445..bc08ec8dec0 100644 --- a/lib/portfolio/caller.php +++ b/lib/portfolio/caller.php @@ -513,11 +513,13 @@ abstract class portfolio_module_caller_base extends portfolio_caller_base { /** * Navigation passed to print_header. * Override this to do something more specific than the module view page + * like adding more links to the breadcrumb. * * @return array */ public function get_navigation() { - $extranav = array('name' => $this->cm->name, 'link' => $this->get_return_url()); + // No extra navigation by default, link to the course module already included. + $extranav = array(); return array($extranav, $this->cm); }