diff --git a/lib/Service/IdentifyMethod/Account.php b/lib/Service/IdentifyMethod/Account.php index f5cebc1c48..edeb6bf5fd 100644 --- a/lib/Service/IdentifyMethod/Account.php +++ b/lib/Service/IdentifyMethod/Account.php @@ -133,7 +133,7 @@ private function isEnabledByDefault(): bool { } // Remove not enabled - $config = array_filter($config, fn ($i) => $i['enabled']); + $config = array_filter($config, fn ($i) => isset($i['enabled']) && $i['enabled'] ? true : false); $current = array_reduce($config, function ($carry, $config) { if ($config['name'] === $this->name) {