Fix for bug 2701.
Credits for the report and the patch go to Samuli Karevaara.
This commit is contained in:
+1
-1
@@ -3785,7 +3785,7 @@ function page_id_and_class(&$getid, &$getclass) {
|
||||
if (substr($path, -1) == '/') {
|
||||
$path .= 'index';
|
||||
}
|
||||
if (empty($path) || $path == '/index') {
|
||||
if (empty($path) || $path == 'index') {
|
||||
$id = 'site-index';
|
||||
$class = 'course';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user