Fix typo.

This commit is contained in:
tjhunt
2008-11-12 10:12:33 +00:00
parent c04d79503e
commit e8155bc338
+1 -1
View File
@@ -3328,7 +3328,7 @@ function print_context_name($context, $withprefix = true, $short = false) {
case CONTEXT_COURSE: // 1 to 1 to course cat
if ($context->instanceid == SITEID) {
$name = get_string('page', 'admin');
$name = get_string('frontpage', 'admin');
} else {
if ($course = $DB->get_record('course', array('id'=>$context->instanceid))) {
if ($withprefix){