MonitoringBackend: use correct config object
This commit is contained in:
parent
bb0e1dc105
commit
8f124051e3
|
@ -86,7 +86,7 @@ class Backend implements Selectable, Queryable, ConnectionInterface
|
|||
}
|
||||
} else {
|
||||
foreach ($config as $name => $backendConfig) {
|
||||
if ((bool) $config->get('disabled', false) === false) {
|
||||
if ((bool) $backendConfig->get('disabled', false) === false) {
|
||||
$backendName = $name;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue