Commit a94ef1d6 authored by Gábor Hojtsy's avatar Gábor Hojtsy

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

parent 7a0111af
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment