Skip to content

Commit

Permalink
fix: migrate from version (Dolibarr#31814)
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry authored Nov 14, 2024
1 parent e2b6762 commit b6c0377
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion htdocs/install/upgrade2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit b6c0377

Please sign in to comment.