summaryrefslogtreecommitdiff
path: root/themes/chameleon/chameleon.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/chameleon/chameleon.theme')
-rw-r--r--themes/chameleon/chameleon.theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index e507d415e..3153a9c1c 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -39,7 +39,7 @@ function chameleon_regions() {
}
function chameleon_page($content, $show_blocks = TRUE) {
- $language = isset($GLOBALS['language']) ? $GLOBALS['language'] : NULL;
+ $language = isset($GLOBALS['language']) ? $GLOBALS['language']->language : NULL;
if (theme_get_setting('toggle_favicon')) {
drupal_set_html_head('<link rel="shortcut icon" href="'. check_url(theme_get_setting('favicon')) .'" type="image/x-icon" />');