diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 57dccdc1b0a..486811f7157 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -443,7 +443,8 @@ else
$choice .= '
';
$choice .= $langs->trans("UpgradeDesc");
- if ($recommended_choice) {
+ if ($recommended_choice)
+ {
$choice .= ' ';
//print $langs->trans("InstallChoiceRecommanded",DOL_VERSION,$conf->global->MAIN_VERSION_LAST_UPGRADE);
$choice .= ''.$langs->trans("InstallChoiceSuggested").' ';
@@ -475,6 +476,13 @@ else
}
}
+ // If there is no choice at all, we show all of them.
+ if (empty($available_choices))
+ {
+ $available_choices=$notavailable_choices;
+ $notavailable_choices=array();
+ }
+
// Array of install choices
print '';
foreach ($available_choices as $choice) {
|