From: moodler <moodler> Date: Mon, 26 Jan 2004 18:22:02 +0000 (+0000) Subject: Check $themename to prevent warnings at high levels of debugging ... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4fb93b2ed2040cff1766aa0dc462711698fef2f6;p=moodle.git Check $themename to prevent warnings at high levels of debugging ... --- diff --git a/theme/standard/styles.php b/theme/standard/styles.php index 8c0853e44f..797aaf298e 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -2,6 +2,10 @@ /// We use PHP so we can do value substitutions into the styles + if (!isset($themename)) { + $themename = NULL; + } + $nomoodlecookie = true; require_once("../../config.php"); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);