Permalink
Browse files

MDL-29258 core_portfolio: Fixing broken default breadcrumb

  • Loading branch information...
1 parent dd8e2dd commit c7f7ad249d2d269e448d3c28f8fcdcb22e57a0bd @dmonllao dmonllao committed Apr 23, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/portfolio/caller.php
View
@@ -513,11 +513,13 @@ public static function expected_callbackargs() {
/**
* 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);
}

0 comments on commit c7f7ad2

Please sign in to comment.