diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 4eb4faac0d9..8dcbd2e426c 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -297,9 +297,9 @@ else
}
# Show title
- if (! empty($conf->global->MAIN_VERSION_LAST_UPGRADE))
+ if (! empty($conf->global->MAIN_VERSION_LAST_UPGRADE) || ! empty($conf->global->MAIN_VERSION_LAST_INSTALL))
{
- print $langs->trans("VersionLastUpgrade").': '.$conf->global->MAIN_VERSION_LAST_UPGRADE.'
';
+ print $langs->trans("VersionLastUpgrade").': '.(empty($conf->global->MAIN_VERSION_LAST_UPGRADE)?$conf->global->MAIN_VERSION_LAST_INSTALL:$conf->global->MAIN_VERSION_LAST_UPGRADE).'
';
print $langs->trans("VersionProgram").': '.DOL_VERSION.'';
//print ' '.img_warning($langs->trans("RunningUpdateProcessMayBeRequired"));
print '
';