diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index 4427df887352c..507cf9cdc414c 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -514,8 +514,14 @@ */ // Scripts for 20.0 - $afterversionarray = explode('.', '19.0.9'); + /*$afterversionarray = explode('.', '19.0.9'); $beforeversionarray = explode('.', '20.0.9'); + if (versioncompare($versiontoarray, $afterversionarray) >= 0 && versioncompare($versiontoarray, $beforeversionarray) <= 0) { + }*/ + + // Scripts for 21.0 + $afterversionarray = explode('.', '20.0.9'); + $beforeversionarray = explode('.', '21.0.9'); if (versioncompare($versiontoarray, $afterversionarray) >= 0 && versioncompare($versiontoarray, $beforeversionarray) <= 0) { migrate_productlot_path(); }