mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-60314 navigation: fix overriding variable value
This commit is contained in:
parent
d8e9a23c48
commit
0b844a8322
@ -2452,8 +2452,8 @@ class global_navigation extends navigation_node {
|
||||
|
||||
$reporttab = $usercoursenode->add(get_string('activityreports'));
|
||||
|
||||
$reports = get_plugin_list_with_function('report', 'extend_navigation_user', 'lib.php');
|
||||
foreach ($reports as $reportfunction) {
|
||||
$reportfunctions = get_plugin_list_with_function('report', 'extend_navigation_user', 'lib.php');
|
||||
foreach ($reportfunctions as $reportfunction) {
|
||||
$reportfunction($reporttab, $user, $usercourse);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user