Whoops! Bad typo!!! :-(

This commit is contained in:
moodler
2005-05-09 16:29:10 +00:00
parent 6b0ec8d155
commit 59552aab4d
+1 -1
View File
@@ -1873,7 +1873,7 @@ function current_theme() {
if (!empty($CFG->pagetheme)) { // Page theme is for special page-only themes set by code
return $CFG->pagetheme;
else if (!empty($CFG->coursetheme) and !empty($CFG->allowcoursethemes)) { // Course themes override others
} else if (!empty($CFG->coursetheme) and !empty($CFG->allowcoursethemes)) { // Course themes override others
return $CFG->coursetheme;
} else if (!empty($SESSION->theme)) { // Session theme can override other settings