From f3d0a6fc0216027955027cee7b6f8fe36de32b95 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 12 Nov 2009 21:05:49 +0000 Subject: - Patch #624772 by David_Rothstein: there is no such thing as a custom theme. --- includes/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 84812e6c8..805646f5a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1138,7 +1138,7 @@ function theme_get_setting($setting_name, $theme = NULL) { // If no key is given, use the current theme if we can determine it. if (is_null($theme)) { - $theme = !empty($GLOBALS['theme_key']) ? $GLOBALS['theme_key'] : (!empty($GLOBALS['custom_theme']) ? $GLOBALS['custom_theme'] : ''); + $theme = !empty($GLOBALS['theme_key']) ? $GLOBALS['theme_key'] : ''; } if (empty($cache[$theme])) { -- cgit v1.2.3