fix patch 4.1.11 (#4574)

This commit is contained in:
Aina Sitraka
2025-01-13 16:59:34 +03:00
committed by GitHub
parent 2e98300a68
commit e0425f1630

View File

@@ -49,7 +49,7 @@ class patch_4111PHRAS4106 implements patchInterface
/** @var PropertyAccess $conf */
$conf = $app['conf'];
foreach ($app['conf']->get(['authentication', 'providers'], []) as $providerId => $data) {
if ($data['type'] === "openid") {
if (isset($data['type']) && $data['type'] === "openid") {
if (!isset($data['options']['usegroups'])) {
$data['options']['usegroups'] = false;