Permalink
Browse files

MDL-25999 Fixed URL bug with admin bookmark changes

  • Loading branch information...
1 parent d054270 commit fc3e922e65224a7a4580d3c62ec83d7fa07921bf Sam Hemelryk committed Apr 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/admin_bookmarks/block_admin_bookmarks.php
View
2 blocks/admin_bookmarks/block_admin_bookmarks.php
@@ -90,7 +90,7 @@ function get_content() {
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) {

0 comments on commit fc3e922

Please sign in to comment.