From 1b07923f6b14d8f8123aaeedb0002062ade58af0 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Thu, 25 Oct 2018 13:37:56 +0300 Subject: [PATCH] Bug fix --- retailcrm/retailcrm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retailcrm/retailcrm.php b/retailcrm/retailcrm.php index 261707c..076a3bd 100644 --- a/retailcrm/retailcrm.php +++ b/retailcrm/retailcrm.php @@ -800,7 +800,7 @@ class RetailCRM extends Module $name = 'PrestaShop'; $accountUrl = $scheme . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; - if ($apiVersion == 'v4') { + if ($apiVersion == '4') { $configuration = array( 'name' => $name, 'code' => $integrationCode . '-' . $clientId,