From eb0d8c1ed0994e7c0e7e33fab43f674c2e25aa12 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 29 Oct 2019 13:26:54 +0000 Subject: [PATCH] Uswe default value --- src/Module/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Login.php b/src/Module/Login.php index 5284131d7a..0048fefaae 100644 --- a/src/Module/Login.php +++ b/src/Module/Login.php @@ -389,7 +389,7 @@ class Login extends BaseModule } $args = []; - $attr = Session::get('openid_attributes') ?? []; + $attr = Session::get('openid_attributes', []); if (is_array($attr) && count($attr)) { foreach ($attr as $k => $v) { -- 2.39.5