diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 6fb01d5329c..b4de3cebb66 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -415,19 +415,23 @@ else
$available_choices = array();
$notavailable_choices = array();
- // Show line of first install choice
- $choice = '
'."\n";
+ if (empty($dolibarr_main_db_host)) // This means install process was not run
+ {
+ $foundrecommandedchoice = 1; // To show only once
+ }
+
+ // Show line of first install choice
+ $choice = '
'."\n";
$choice .= '| '.$langs->trans("FreshInstall").'';
$choice .= ' | ';
$choice .= '';
$choice .= $langs->trans("FreshInstallDesc");
if (empty($dolibarr_main_db_host)) // This means install process was not run
{
- $choice .= ' ';
+ $choice .= ' ';
//print $langs->trans("InstallChoiceRecommanded",DOL_VERSION,$conf->global->MAIN_VERSION_LAST_UPGRADE);
$choice .= ''.$langs->trans("InstallChoiceSuggested").' ';
// ';
- $foundrecommandedchoice = 1; // To show only once
}
$choice .= ' | ';