Skip to content

Commit dc22526

Browse files
committed
updates
1 parent d62a4a5 commit dc22526

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/cpanel.inc.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ function deactivate_cpanel($ipAddress = false)
5656
$request = ['ip' => $ipAddress];
5757
$response = $cpl->fetchLicenseId($request);
5858
request_log('licenses', false, __FUNCTION__, 'cpanel', 'fetchLicenseId', $request, $response);
59-
if (isset($response['attr']['reason']) && $response['attr']['reason'] == 'No Licenses Found')
60-
return true;
59+
if (isset($response['attr']['reason']) && $response['attr']['reason'] == 'No Licenses Found') {
60+
return true;
61+
}
6162
if (isset($response['licenseid']) && isset($response['licenseid']['value'])) {
6263
$liscid = $response['licenseid']['value'];
6364
$request = ['liscid' => $liscid];

0 commit comments

Comments
 (0)