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

6.x
Gábor Hojtsy 2008-01-25 12:36:37 +00:00
parent 7a0111afb1
commit a94ef1d6eb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}