From 7d89172f66738aa68c96fa71a71e3e1aef522318 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 29 Jan 2005 11:51:40 +0000 Subject: [PATCH] Fix styles when editing front page --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5