Skip to content
Snippets Groups Projects
Commit 6958037d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Bugfix: made the "Default front page" setting work with URL aliases.  Patch
  by Matt.
parent 7f094195
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1177,9 +1177,14 @@ function drupal_page_footer() {
$_GET["q"] = $path;
}
}
else {
if ($path = drupal_get_normal_path(variable_get("site_frontpage", "node"))) {
$_GET["q"] = $path;
}
else {
$_GET["q"] = variable_get("site_frontpage", "node");
}
}
// initialize installed modules:
module_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment