diff options
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index 2b83a3c52..16b2cf204 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; } } |