diff --git a/install.php b/install.php index 2b83a3c52825f86e6359d43bf88deedb47b79884..16b2cf204e5fdcc4b0f88b2eda2c9e1e3237493e 100644 --- a/install.php +++ b/install.php @@ -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; } }