diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php
index 5298c1d0ff7f..fce977e5fb36 100644
--- a/themes/bluemarine/page.tpl.php
+++ b/themes/bluemarine/page.tpl.php
@@ -1,5 +1,5 @@
-
+
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index e507d415e2be..3153a9c1c569 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('');
diff --git a/themes/pushbutton/page.tpl.php b/themes/pushbutton/page.tpl.php
index 2a1e34184348..acf27949bd44 100644
--- a/themes/pushbutton/page.tpl.php
+++ b/themes/pushbutton/page.tpl.php
@@ -1,5 +1,5 @@
-
+