Skip to content

Commit

Permalink
added storing # of accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Oct 9, 2019
1 parent 8cfa11f commit 08ab4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/update_cpanel_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
$license['osver'] = $license2['osver'];
$license['package'] = $license2['packageid'];
$license['status'] = $license2['status'];
$line = implode(',', [$license['ip'], $license['liscid'], $license['hostname'], $license['os'], $license['distro'], $license['version'], $license['envtype'], $license['osver'], $license['package'], $license['status']]);
$line = implode(',', [$license['ip'], $license['liscid'], $license['hostname'], $license['os'], $license['distro'], $license['version'], $license['envtype'], $license['osver'], $license['package'], $license['status'], $license['accounts']]);
$db->query("select * from repeat_invoices, licenses, services where repeat_invoices_service=license_id and repeat_invoices_module='licenses' and repeat_invoices_id=license_invoice and license_type=services_id and services_module='licenses' and services_category=500 and license_ip='{$license['ip']}' and license_status='active' and services_field1='{$license['package']}'", __LINE__, __FILE__);
if ($db->num_rows() > 0) {
while ($db->next_record(MYSQL_ASSOC)) {
Expand Down

0 comments on commit 08ab4b3

Please sign in to comment.