From 60dfb02a02501aca6d11c4aa99923dcaa18d98fa Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 6 May 2009 09:00:58 +0000 Subject: [PATCH] moodle_page: MDL-12212 Unbreak home page when editing is on --- lib/pagelib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pagelib.php b/lib/pagelib.php index b2d5b392c30bf..f1159dc87ab05 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -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' ); }