From 4fb93b2ed2040cff1766aa0dc462711698fef2f6 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 26 Jan 2004 18:22:02 +0000 Subject: [PATCH] Check $themename to prevent warnings at high levels of debugging ... --- theme/standard/styles.php | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5