Fix billing error introduced by #14979 (#14996)

Fixes #14994
This commit is contained in:
Tony Murray
2023-04-23 13:23:54 -05:00
committed by GitHub
parent 265906b44c
commit 2271e29e03

View File

@@ -7,7 +7,7 @@ use Amenadiel\JpGraph\Plot\LinePlot;
use LibreNMS\Billing;
use LibreNMS\Util\Number;
Billing::getHistoricTransferGraphData($vars['id']);
$graph_data = Billing::getHistoricTransferGraphData($vars['id']);
// Reformat date labels
for ($i = 0; $i < count($graph_data['ticklabels']); $i++) {