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 b0a7bc3 commit 3f1dddd
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 @@ -5603,7 +5603,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 3f1dddd

Please sign in to comment.