diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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])) { |