From: defacer Date: Tue, 25 Jan 2005 19:23:05 +0000 (+0000) Subject: Weren't these two mistakenly switched? Compare the results from X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6385200609f295e7dabe92bb5e31c18b8d1eb69d;p=moodle.git Weren't these two mistakenly switched? Compare the results from /index.php and /course/view.php to see what I mean. --- 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);