Merge pull request #24413 from aspangaro/18a7

Fix v18 migration script
This commit is contained in:
Laurent Destailleur 2023-04-04 21:30:30 +02:00 committed by GitHub
commit f223c07284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -494,7 +494,7 @@ if (!GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'aZ
}
// Scripts for 18.0
$afterversionarray = explode('.', '170.9');
$afterversionarray = explode('.', '17.0.9');
$beforeversionarray = explode('.', '18.0.9');
if (versioncompare($versiontoarray, $afterversionarray) >= 0 && versioncompare($versiontoarray, $beforeversionarray) <= 0) {
migrate_contractdet_rank();