Skip to content

Commit

Permalink
Merge branch 'MDL-69993' of git://github.com/paulholden/moodle into m…
Browse files Browse the repository at this point in the history
…aster
  • Loading branch information
stronk7 committed Oct 26, 2020
2 parents 08b5238 + b14cca8 commit 3dcb4f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pagelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2051,7 +2051,8 @@ public function add_report_nodes($userid, $nodeinfo) {
$reportnode = $myprofilenode->add(get_string('reports'));
}
// Finally add the report to the navigation tree.
$reportnode->add($nodeinfo['name'], $nodeinfo['url'], navigation_node::TYPE_COURSE);
$reportnode->add($nodeinfo['name'], $nodeinfo['url'], navigation_node::TYPE_CUSTOM, null, null,
new pix_icon('i/report', $nodeinfo['name']));
}

/**
Expand Down

0 comments on commit 3dcb4f5

Please sign in to comment.