Skip to content
Snippets Groups Projects
Commit a94ef1d6 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#205067 by asimmonds: kill notice in install.php when the profile is not yet set

parent 7a0111af
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
......@@ -434,7 +434,7 @@ function install_select_profile() {
}
elseif (sizeof($profiles) > 1) {
foreach ($profiles as $profile) {
if ($_POST['profile'] == $profile->name) {
if (!empty($_POST['profile']) && ($_POST['profile'] == $profile->name)) {
return $profile->name;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment