Merge pull request #36 from iyzoer/master

Bug fix
This commit is contained in:
Alex Lushpai 2018-10-25 13:39:35 +03:00 committed by GitHub
commit 8f2cb8c1b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,