MDL-30340 blocks - incorrect option in user profile template and missing lang string in my template

This commit is contained in:
Eloy Lafuente (stronk7)
2011-12-05 01:14:19 +01:00
parent d4e71a4eed
commit 49ae1fdcea
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -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'));
}
/**