Skip to content

Commit

Permalink
Update Helper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 12, 2024
1 parent cc3c59d commit edd33d2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions plib/library/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,12 @@ public static function checkSsl($domainName)
</packet>
APICALL;
$response = json_decode(json_encode(pm_ApiRpc::getService()->call($apiRequest)), TRUE);



if (isset($response['certificate']['get-pool']['result']['status'])
&& $response['certificate']['get-pool']['result']['status'] == 'ok') {
return true;
}

return false;
}
}

0 comments on commit edd33d2

Please sign in to comment.