File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
modules/registrars/synergywholesaledomains Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ Synergy Wholesale WHMCS Domains Module
15
15
### Removed
16
16
-
17
17
18
+
19
+ ## 2.1.2 [ Updated 30/03/2020]
20
+ ### Fixed
21
+ - Fix introduced type error: Carbon\Carbon provided, expected WHMCS\Carbon
22
+
18
23
## 2.1.1 [ Updated 30/03/2020]
19
24
### Fixed
20
25
- Fixed "Get EPP Code" not displaying the EPP Code on screen. Fixes [ #6 ] ( https://github.com/SynergyWholesale/WHMCS-Domains-Module/issues/6 )
Original file line number Diff line number Diff line change @@ -2635,7 +2635,7 @@ function synergywholesaledomains_GetTldPricing(array $params)
2635
2635
}
2636
2636
}
2637
2637
2638
- if (class_exists ('\WHMCS\Domain\Registrar\Domain ' ) && class_exists ('\Carbon \Carbon ' )) {
2638
+ if (class_exists ('\WHMCS\Domain\Registrar\Domain ' ) && class_exists ('\WHMCS \Carbon ' )) {
2639
2639
function synergywholesaledomains_GetDomainInformation (array $ params )
2640
2640
{
2641
2641
try {
@@ -2682,7 +2682,7 @@ function synergywholesaledomains_GetDomainInformation(array $params)
2682
2682
->setDomain ($ response ['domainName ' ])
2683
2683
->setNameservers ($ nameservers )
2684
2684
->setTransferLock ('clientTransferProhibited ' === $ response ['domain_status ' ])
2685
- ->setExpiryDate (Carbon \Carbon::createFromFormat ('Y-m-d H:i:s ' , $ response ['domain_expiry ' ]))
2685
+ ->setExpiryDate (WHMCS \Carbon::createFromFormat ('Y-m-d H:i:s ' , $ response ['domain_expiry ' ]))
2686
2686
->setIdProtectionStatus ('Enabled ' === $ response ['idProtect ' ])
2687
2687
->setRegistrationStatus ($ status )
2688
2688
;
You can’t perform that action at this time.
0 commit comments