mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix device bits overview when no ports are included (#14573)
This commit is contained in:
@@ -223,7 +223,7 @@ if ($previous) {
|
||||
$rrd_optionsb .= ' LINE1.25:dout' . $format . 'X#666666:';
|
||||
}
|
||||
|
||||
if (! $nototal) {
|
||||
if (! $nototal && ! empty($rrd_list)) {
|
||||
$rrd_options .= ' CDEF:inB=' . $in_thing . $pluses;
|
||||
$rrd_options .= ' CDEF:outB=' . $out_thing . $pluses;
|
||||
$rrd_options .= ' CDEF:octets=inB,outB,+';
|
||||
|
Reference in New Issue
Block a user