mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-19 07:53:14 +00:00
fix patch 4.1.11 (#4574)
This commit is contained in:
@@ -49,7 +49,7 @@ class patch_4111PHRAS4106 implements patchInterface
|
|||||||
/** @var PropertyAccess $conf */
|
/** @var PropertyAccess $conf */
|
||||||
$conf = $app['conf'];
|
$conf = $app['conf'];
|
||||||
foreach ($app['conf']->get(['authentication', 'providers'], []) as $providerId => $data) {
|
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'])) {
|
if (!isset($data['options']['usegroups'])) {
|
||||||
$data['options']['usegroups'] = false;
|
$data['options']['usegroups'] = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user