From 5a5233e88c3398b0992d7e94bd474141547cce86 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 15 Feb 2006 21:32:19 +0000 Subject: - Patch #17291 by budda: made mission statement work on aliased front pages. --- themes/engines/phptemplate/phptemplate.engine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index d28423acf..4f42c57fb 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -142,7 +142,7 @@ function phptemplate_features() { function phptemplate_page($content) { /* Set title and breadcrumb to declared values */ - if ($_GET['q'] == variable_get('site_frontpage', 'node')) { + if (drupal_get_path_alias($_GET['q']) == variable_get('site_frontpage', 'node')) { $mission = theme_get_setting('mission'); $frontpage = true; } -- cgit v1.2.3