Weren't these two mistakenly switched? Compare the results from
/index.php and /course/view.php to see what I mean.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user