diff --git a/user/profilesys.php b/user/profilesys.php index d07c6f59854..67f8f2c9ad3 100644 --- a/user/profilesys.php +++ b/user/profilesys.php @@ -40,7 +40,7 @@ require_login(); $header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")"; $PAGE->set_blocks_editing_capability('moodle/my:configsyspages'); -admin_externalpage_setup('mypage', '', null, '', array('pagelayout' => 'mydashboard')); +admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mydashboard')); // Override pagetype to show blocks properly. $PAGE->set_pagetype('user-profile');