summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-12 21:05:49 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-12 21:05:49 +0000
commitf3d0a6fc0216027955027cee7b6f8fe36de32b95 (patch)
tree32951353c413021c8bb45017340f5a5b2b3ae249
parent2218f528d531f59b9330899e34f4be588668622e (diff)
downloadbrdo-f3d0a6fc0216027955027cee7b6f8fe36de32b95.tar.gz
brdo-f3d0a6fc0216027955027cee7b6f8fe36de32b95.tar.bz2
- Patch #624772 by David_Rothstein: there is no such thing as a custom theme.
-rw-r--r--includes/theme.inc2
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])) {