From aecac3632fc297f3f38f9ff6a0fb20780da31b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 10 Feb 2019 11:08:48 +0100 Subject: [PATCH] wip --- htdocs/admin/dolistore/class/dolistore.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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").'