diff --git a/htdocs/admin/dolistore/class/dolistore.class.php b/htdocs/admin/dolistore/class/dolistore.class.php index 3a22d73ea3a..b3a9f037e95 100644 --- a/htdocs/admin/dolistore/class/dolistore.class.php +++ b/htdocs/admin/dolistore/class/dolistore.class.php @@ -262,20 +262,20 @@ class Dolistore if ($this->version_compare($product->dolibarr_min, DOL_VERSION) <= 0) { if ($this->version_compare($product->dolibarr_max, DOL_VERSION) >= 0) { //compatible - $version = ''.$langs->trans('CompatibleUpTo', $product->dolibarr_max, + $version = ''.$langs->trans('CompatibleUpTo', $product->dolibarr_max, $product->dolibarr_min, $product->dolibarr_max).''; - $compatible = ''; + $compatible = ''; } else { //never compatible, module expired - $version = ''.$langs->trans('NotCompatible', DOL_VERSION, + $version = ''.$langs->trans('NotCompatible', DOL_VERSION, $product->dolibarr_min, $product->dolibarr_max).''; - $compatible = 'NotCompatible'; + $compatible = 'NotCompatible'; } } else { //need update $version = ''.$langs->trans('CompatibleAfterUpdate', DOL_VERSION, $product->dolibarr_min, $product->dolibarr_max).''; - $compatible = 'NotCompatible'; + $compatible = 'NotCompatible'; } //.'
'.$langs->trans("SeeInMarkerPlace").'