Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions poll-billing.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

$scheduler = LibrenmsConfig::get('schedule_type.billing');
if (! isset($options['f']) && $scheduler != 'legacy' && $scheduler != 'cron') {
Log::debug("Billing is not enabled for cron scheduling. Add the -f command argument if you want to force this command to run.");
Log::debug('Billing is not enabled for cron scheduling. Add the -f command argument if you want to force this command to run.');
exit(0);
}

Expand Down Expand Up @@ -98,7 +98,7 @@
}
//////////////////////////////////CountersValidation$DB-Update
//For debugging
Log::debug("****$now: " . $bill->bill_name . " Billing DB SNMP counters received.");
Log::debug("****$now: " . $bill->bill_name . ' Billing DB SNMP counters received.');
Log::debug('in_measurement: ' . $port_data['in_measurement'] . ' out_measurement: ' . $port_data['out_measurement'] . "\nThe data types are. in_measurement:" . gettype($port_data['in_measurement']) . ' and out_measurement: ' . gettype($port_data['out_measurement']));
Log::debug('IN_delta: ' . $port_data['in_delta'] . ' OUT_delta: ' . $port_data['out_delta'] . "\nLast_IN_delta: " . ($port_data['last_in_delta'] ?? '') . ' last_OUT_delta: ' . ($port_data['last_out_delta'] ?? ''));

Expand Down