]> git.mjollnir.org Git - moodle.git/commitdiff
Fix styles when editing front page
authormoodler <moodler>
Sat, 29 Jan 2005 11:51:40 +0000 (11:51 +0000)
committermoodler <moodler>
Sat, 29 Jan 2005 11:51:40 +0000 (11:51 +0000)
lib/weblib.php

index b6965314886a0f066df9c0fa16f6ec6bea717868..e06cb4fec8d580a05318f3f49591728edff3e62a 100644 (file)
@@ -1636,7 +1636,7 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $meta=
     if (substr($path, -1) == '/') {
         $path .= 'index';
     }
-    if (empty($path)) {
+    if (empty($path) or $path = '/index') {
         $pageid    = 'site-index';
         $pageclass = 'course course-'.SITEID;
     } else {