diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install.php b/install.php index 3b8ff56ca..38cc2b1c3 100644 --- a/install.php +++ b/install.php @@ -790,6 +790,11 @@ function install_task_list($active = NULL) { $profile = isset($_GET['profile']) && isset($profiles[$_GET['profile']]) ? $_GET['profile'] : '.'; $locales = install_find_locales($profile); + // Remove select profile if we have only one. + if (count($profiles) == 1) { + unset($tasks['profile-select']); + } + // Add tasks defined by the profile. if ($profile) { $function = $profile .'_profile_task_list'; |