mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 07:28:31 +01:00
Fix styles when editing front page
This commit is contained in:
parent
c5e266d233
commit
7d89172f66
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user