summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/xtemplate/xtemplate.theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme
index 1a584eff5..afea90bcc 100644
--- a/themes/xtemplate/xtemplate.theme
+++ b/themes/xtemplate/xtemplate.theme
@@ -88,7 +88,7 @@ class Theme_xtemplate extends BaseTheme {
$this->template->parse("header.search_box");
}
- if (!arg(0)) {
+ if ($_GET["q"] == variable_get("site_frontpage", "node")) {
$this->template->assign("header_message", variable_get("xtemplate_message", l("edit message", "admin/system/themes/xtemplate")));
$this->template->parse("header.message");
}