diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-01 18:39:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-01 18:39:56 +0000 |
commit | d5d453604af5dcc50f37870c3a03270a8ac1435f (patch) | |
tree | 9d5acb75d1313851a0db72874977f43b01a06f5d /includes | |
parent | 65f1c9fa248c47b472698aedf9b34f52aac54865 (diff) | |
download | brdo-d5d453604af5dcc50f37870c3a03270a8ac1435f.tar.gz brdo-d5d453604af5dcc50f37870c3a03270a8ac1435f.tar.bz2 |
- Patch #613858 by sun, Dave Reid: fixed drupal_is_front_page() should not call drupal_get_normal_path().
Diffstat (limited to 'includes')
-rw-r--r-- | includes/path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/path.inc b/includes/path.inc index 4a9faa373..3ce40a818 100644 --- a/includes/path.inc +++ b/includes/path.inc @@ -332,7 +332,7 @@ function drupal_is_front_page() { if (!isset($is_front_page)) { // As drupal_path_initialize updates $_GET['q'] with the 'site_frontpage' path, // we can check it against the 'site_frontpage' variable. - $is_front_page = ($_GET['q'] == drupal_get_normal_path(variable_get('site_frontpage', 'node'))); + $is_front_page = ($_GET['q'] == variable_get('site_frontpage', 'node')); } return $is_front_page; |