Update RetailcrmHttpClient.php

This commit is contained in:
Uryvskiy Dima 2024-10-14 17:09:06 +03:00 committed by GitHub
parent 7db5256ac4
commit f46ef048ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,10 +108,10 @@ class RetailcrmHttpClient
$parameters = self::METHOD_GET === $method
? array_merge($this->defaultParameters, $parameters, [
'php_version' => function_exists('phpversion') ? phpversion() : '',
'cms_source' => 'PrestaShop',
'module_version' => RetailCRM::VERSION,
'cms_version' => _PS_VERSION_,
'php_version' => function_exists('phpversion') ? phpversion() : '',
'module_version' => RetailCRM::VERSION,
])
: $parameters = array_merge($this->defaultParameters, $parameters);