From: moodler Date: Sat, 29 Jan 2005 11:51:40 +0000 (+0000) Subject: Fix styles when editing front page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7d89172f66738aa68c96fa71a71e3e1aef522318;p=moodle.git Fix styles when editing front page --- diff --git a/lib/weblib.php b/lib/weblib.php index b696531488..e06cb4fec8 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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 {