MDL-30340 blocks - incorrect option in user profile template and missing lang string in my template
This commit is contained in:
+1
-1
@@ -1717,7 +1717,7 @@ function default_page_type_list($pagetype, $parentcontext = null, $currentcontex
|
||||
* @return array
|
||||
*/
|
||||
function my_page_type_list($pagetype, $parentcontext = null, $currentcontext = null) {
|
||||
return array('my-index' => 'my-index');
|
||||
return array('my-index' => get_string('page-my-index', 'pagetype'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user