Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.0.1
-
None
-
None
-
MOODLE_400_STABLE
Description
Forumreports are added to the navigation_node of the forum component. Moodle 4.x fetches the same string 'reports' for all reportnames being placed in the navigation of the forum. The moodle-core only has one report called summary, thus things only start getting confusing, when you add another forumreport plugin.
mod/forum/lib.php in line 5606
$forumnode->add(get_string('reports'), $reportlink, navigation_node::TYPE_CONTAINER); |
In former versions it used to fetch the 'nodetitle' string from the forumreport:
$forumnode->add(get_string('nodetitle', "forumreport_{$reportname}"), $reportlink, navigation_node::TYPE_CONTAINER); |
This seems like the intended behaviour.