Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
fix(transfer): fixed issue with stdClass in contact handling in newer…
Browse files Browse the repository at this point in the history
… WHMCS releases
  • Loading branch information
KaiSchwarz-cnic committed Aug 27, 2021
1 parent cc30215 commit deb3a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/registrars/keysystems/keysystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ function keysystems_TransferSync($params)
->first();

if ($owner_contact) {
if ((int) $params['whmcsVersion'][0] >= 8) {
if (is_object($owner_contact)) {
$owner_contact = $owner_contact->toArray();
}
try {
Expand Down

0 comments on commit deb3a9b

Please sign in to comment.