From 8f124051e33ca59dcfddb86ae9034882521bbc8d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 2 Sep 2014 11:32:48 +0200 Subject: [PATCH] MonitoringBackend: use correct config object --- modules/monitoring/library/Monitoring/Backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }