fix CI v22 (#35737)

* fix CI v22

* $error is already checked
This commit is contained in:
Frédéric FRANCE
2025-10-14 19:30:09 +02:00
committed by GitHub
parent 1a4a0e14d4
commit 61b70cfbe5
2 changed files with 2 additions and 1 deletions

View File

@@ -478,6 +478,7 @@ class ExternalModules
// Set and check version
$version = '';
$compatible = '';
if ($product["status"] == 'soon') {
$version = '<span class="warning">'.$langs->trans("NotYetAvailable").'</span>';
} elseif ($this->versionCompare($product["dolibarr_min"], $dolibarrversiontouse) <= 0) {