From 59552aab4dfda4974982b64e2fe190c2fccfcbdb Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 9 May 2005 16:29:10 +0000 Subject: [PATCH] Whoops! Bad typo!!! :-( --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 9e901dd2384..1a88f12edb6 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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