mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-25999 Fixed URL bug with admin bookmark changes
This commit is contained in:
parent
d0542700f5
commit
fc3e922e65
@ -90,7 +90,7 @@ class block_admin_bookmarks extends block_base {
|
||||
foreach($bookmarks as $bookmark) {
|
||||
$temp = $adminroot->locate($bookmark);
|
||||
if ($temp instanceof admin_settingpage) {
|
||||
$contenturl = new moodle_url('settings.php', array('section'=>$bookmark));
|
||||
$contenturl = new moodle_url('/admin/settings.php', array('section'=>$bookmark));
|
||||
$contentlink = html_writer::link($contenturl, $temp->visiblename);
|
||||
$contents[] = html_writer::tag('li', $contentlink);
|
||||
} else if ($temp instanceof admin_externalpage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user