From 6cf68c12d311ede8692b997df765e74e629abd58 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 10 Mar 2012 14:19:28 +0100 Subject: [PATCH] Fix: Upgrade from maintenace version --- htdocs/install/check.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/check.php b/htdocs/install/check.php index 5a3c75ee7b9..c48f4c7f599 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -402,8 +402,8 @@ else $dolibarrversiontoarray=preg_split('/[\.-]/',$versionto); $version=preg_split('/[\.-]/',DOL_VERSION); $newversionfrombis=''; - if (versioncompare($dolibarrversiontoarray,$version) < -2) $newversionfrombis='/'.$versionto; - print ''.$langs->trans("Upgrade").'
'.$newversionfrom.' -> '.$newversionto.'
'; + if (versioncompare($dolibarrversiontoarray,$version) < -2) $newversionfrombis=' '.$langs->trans("or").' '.$versionto; + print ''.$langs->trans("Upgrade").'
'.$newversionfrom.$newversionfrombis.' -> '.$newversionto.'
'; print ''; print $langs->trans("UpgradeDesc"); if ($ok)