Skip to content

Commit

Permalink
MDL-75091 forum: Fix wrong title in forumreport navigation link
Browse files Browse the repository at this point in the history
  • Loading branch information
Menrath committed Oct 10, 2023
1 parent fe7aff8 commit aebb71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -5449,7 +5449,7 @@ function forum_extend_settings_navigation(settings_navigation $settingsnav, navi
'forumid' => $forumobject->id,
];
$reportlink = new moodle_url("/mod/forum/report/{$reportname}/index.php", $reportlinkparams);
$forumnode->add(get_string('reports'), $reportlink, navigation_node::TYPE_CONTAINER);
$forumnode->add(get_string('nodetitle', "forumreport_{$reportname}"), $reportlink, navigation_node::TYPE_CONTAINER);
}
}
}
Expand Down

0 comments on commit aebb71e

Please sign in to comment.