]> git.mjollnir.org Git - moodle.git/commitdiff
moodle_page: MDL-12212 Unbreak home page when editing is on
authortjhunt <tjhunt>
Wed, 6 May 2009 09:00:58 +0000 (09:00 +0000)
committertjhunt <tjhunt>
Wed, 6 May 2009 09:00:58 +0000 (09:00 +0000)
lib/pagelib.php

index b2d5b392c30bfeebc7e4adc0df75ec0bbc3d2175..f1159dc87ab05ce9049ae3141db06ec4eb3495ca 100644 (file)
@@ -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'
         );
     }