From 6385200609f295e7dabe92bb5e31c18b8d1eb69d Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 25 Jan 2005 19:23:05 +0000 Subject: [PATCH] Weren't these two mistakenly switched? Compare the results from /index.php and /course/view.php to see what I mean. --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 54f373d273..39e708b80a 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1637,8 +1637,8 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $meta= $path .= 'index'; } if (empty($path)) { - $pageid = 'index'; - $pageclass = 'course-view'; + $pageid = 'course-view'; + $pageclass = 'index'; } else { $pageid = str_replace('/', '-', $path); $pageclass = explode('-', $pageid); -- 2.39.5