Skip to content

Commit

Permalink
moodle_page: MDL-12212 Unbreak home page when editing is on
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed May 6, 2009
1 parent b80e3a9 commit 60dfb02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pagelib.php
Expand Up @@ -710,7 +710,8 @@ function page_map_class($type, $classname = NULL) {

if ($mappings === NULL) {
$mappings = array(
PAGE_COURSE_VIEW => 'page_course'
PAGE_COURSE_VIEW => 'page_course',
'site-index' => 'page_course'
);
}

Expand Down

0 comments on commit 60dfb02

Please sign in to comment.