Fix poller enabling graphs for display (#11743)

This commit is contained in:
Tony Murray
2020-05-30 17:42:50 -05:00
committed by GitHub
parent 67cb7b4dc3
commit fa12c4ca2f
5 changed files with 31 additions and 45 deletions

View File

@@ -55,7 +55,7 @@ class Graph
if ($device != null) {
// find the MIB subtypes
$graphs = $device->graphs();
$graphs = $device->graphs->pluck('graph');
foreach (Config::get('graph_types') as $type => $type_data) {
foreach (array_keys($type_data) as $subtype) {