MonitoringBackend: use correct config object

This commit is contained in:
Thomas Gelf 2014-09-02 11:32:48 +02:00
parent bb0e1dc105
commit 8f124051e3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}