Skip to content

Commit 290002f

Browse files
author
Cameron Hall
committed
PHP Version no longer includes [extra] version information
1 parent 4794e40 commit 290002f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Synergy Wholesale WHMCS Domains Module
1616
-
1717

1818
## 2.0.2 [Updated 18/02/2020]
19+
### Changed
20+
- PHP Version sent in API requests no longer include the `[extra]` version details
21+
1922
### Fixed
2023
- Fixed "Next Due Date" not accounting for `Sync Next Due Date` setting on domain sync. Fixes [#1](https://github.com/SynergyWholesale/WHMCS-Domains-Module/issues/2)
2124

modules/registrars/synergywholesaledomains/synergywholesaledomains.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function synergywholesaledomains_apiRequest($command, array $params = [], array
8383
* backwards compatability across WHMCS versions and PHP support.
8484
*/
8585
$analytics = [
86-
'php_ver' => phpversion(),
86+
'php_ver' => str_replace(PHP_EXTRA_VERSION, '', PHP_VERSION),
8787
'whmcs_ver' => $params['whmcsVersion'],
8888
'whmcs_mod_ver' => SW_MODULE_VERSION,
8989
];

0 commit comments

Comments
 (0)