[-] PROJECT : Fix on PS module compliancy check - #PSCFV-2783
This commit is contained in:
@@ -179,7 +179,7 @@ abstract class ModuleCore
|
|||||||
die(Tools::displayError());
|
die(Tools::displayError());
|
||||||
|
|
||||||
// Check PS version compliancy
|
// Check PS version compliancy
|
||||||
if (version_compare(_PS_VERSION_, $this->ps_versions_compliancy['min']) < 0 || version_compare(_PS_VERSION_, $this->ps_versions_compliancy['max']) > 0)
|
if (version_compare(_PS_VERSION_, $this->ps_versions_compliancy['min']) < 0 || version_compare(_PS_VERSION_, $this->ps_versions_compliancy['max']) >= 0)
|
||||||
{
|
{
|
||||||
$this->_errors[] = $this->l('The version of your module is not compliant with your PrestaShop version.');
|
$this->_errors[] = $this->l('The version of your module is not compliant with your PrestaShop version.');
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user