mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12124)
This commit is contained in:
@@ -64,7 +64,7 @@ if (($group != 'customoid') && (is_file("includes/html/pages/device/graphs/$grou
|
||||
if ($graph_enable[$graph]) {
|
||||
if ($graph == 'customoid') {
|
||||
foreach (dbFetchRows('SELECT * FROM `customoids` WHERE `device_id` = ? ORDER BY `customoid_descr`', [$device['device_id']]) as $graph_entry) {
|
||||
$graph_title = \LibreNMS\Config::get("graph_types.device.$graph.descr") . ": " . $graph_entry['customoid_descr'];
|
||||
$graph_title = \LibreNMS\Config::get("graph_types.device.$graph.descr") . ': ' . $graph_entry['customoid_descr'];
|
||||
$graph_array['type'] = 'customoid_' . $graph_entry['customoid_descr'];
|
||||
if (! empty($graph_entry['customoid_unit'])) {
|
||||
$graph_array['unit'] = $graph_entry['customoid_unit'];
|
||||
|
Reference in New Issue
Block a user