mirror of
https://github.com/moodle/moodle.git
synced 2025-02-23 03:18:07 +01:00
Merge branch 'MDL-83353' of https://github.com/paulholden/moodle
This commit is contained in:
commit
b576bb4a0e
@ -49,6 +49,7 @@ try {
|
||||
// This identifies the block instance requesting AJAX extension
|
||||
$instanceid = optional_param('instance', null, PARAM_INT);
|
||||
|
||||
$PAGE->set_url(new moodle_url('/lib/ajax/getnavbranch.php'));
|
||||
$PAGE->set_context(context_system::instance());
|
||||
|
||||
// Create a global nav object
|
||||
|
@ -2462,7 +2462,7 @@ class global_navigation extends navigation_node {
|
||||
$icon = new pix_icon(
|
||||
$activitydata->icon ?: 'monologo',
|
||||
get_string('modulename', $activitydata->modname),
|
||||
$activitydata->modname
|
||||
$activitydata->icon ? $activitydata->iconcomponent : $activitydata->modname,
|
||||
);
|
||||
|
||||
// Prepare the default name and url for the node.
|
||||
|
Loading…
x
Reference in New Issue
Block a user