From 72dd307737aabc51d08a8d8dbfff0496bd57f219 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Thu, 14 Nov 2024 09:24:08 +0100 Subject: [PATCH] fix: migrate from version --- htdocs/install/upgrade2.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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(); }