diff --git a/modules/monitoring/library/Monitoring/Backend.php b/modules/monitoring/library/Monitoring/Backend.php index a36bbe8a2..454a33cef 100644 --- a/modules/monitoring/library/Monitoring/Backend.php +++ b/modules/monitoring/library/Monitoring/Backend.php @@ -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; }