Skip to content

Commit 08ab4b3

Browse files
committed
added storing # of accounts
1 parent 8cfa11f commit 08ab4b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/update_cpanel_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
$license['osver'] = $license2['osver'];
3636
$license['package'] = $license2['packageid'];
3737
$license['status'] = $license2['status'];
38-
$line = implode(',', [$license['ip'], $license['liscid'], $license['hostname'], $license['os'], $license['distro'], $license['version'], $license['envtype'], $license['osver'], $license['package'], $license['status']]);
38+
$line = implode(',', [$license['ip'], $license['liscid'], $license['hostname'], $license['os'], $license['distro'], $license['version'], $license['envtype'], $license['osver'], $license['package'], $license['status'], $license['accounts']]);
3939
$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__);
4040
if ($db->num_rows() > 0) {
4141
while ($db->next_record(MYSQL_ASSOC)) {

0 commit comments

Comments
 (0)