From 19827403860f06ea5e5bbe7a4d7e147fb70095a2 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 23 Feb 2011 15:20:09 +0000 Subject: [PATCH] downtime theme needs access to user global --- contrib/downtime/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/downtime/theme.php b/contrib/downtime/theme.php index f1c1827d..0003c2af 100644 --- a/contrib/downtime/theme.php +++ b/contrib/downtime/theme.php @@ -13,7 +13,7 @@ class DowntimeTheme extends Themelet { * Display $message and exit */ public function display_message($message) { - global $config; + global $config, $user; $theme_name = $config->get_string('theme'); $data_href = get_base_href(); $login_link = make_link("user_admin/login");