Skip to content

Commit

Permalink
variable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Oct 31, 2019
1 parent 08ab4b3 commit de0a838
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cpanel.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function deactivate_cpanel($ipAddress = false)
return false;
}
}
myadmin_log('licenses', 'error', 'deactivate_cpanel('.$ipAddress.') gave unexpected output:'.json_encode($response), __LINE__, __FILE__, $module);
myadmin_log('licenses', 'error', 'deactivate_cpanel('.$ipAddress.') gave unexpected output:'.json_encode($response), __LINE__, __FILE__, 'licenses');
return false;
}

Expand Down Expand Up @@ -154,8 +154,8 @@ function get_cpanel_licenses()
}

function get_cpanel_accounts_for_license_ip($ip) {
$data = get_cpanel_license_data_by_ip($ip);
if ($data === false)
return false;
return $data['accounts'];
$data = get_cpanel_license_data_by_ip($ip);
if ($data === false)
return false;
return $data['accounts'];
}

0 comments on commit de0a838

Please sign in to comment.