Fix for bug 2701.

Credits for the report and the patch go to Samuli Karevaara.
This commit is contained in:
defacer
2005-03-09 21:16:38 +00:00
parent 6f1cc8d63c
commit 1656bb3e2f
+1 -1
View File
@@ -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 {