]> git.mxchange.org Git - friendica.git/commitdiff
Uswe default value
authorMichael <heluecht@pirati.ca>
Tue, 29 Oct 2019 13:26:54 +0000 (13:26 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 29 Oct 2019 13:26:54 +0000 (13:26 +0000)
src/Module/Login.php

index 5284131d7a4a1ce58ec370b9a36c7fef0e36f976..0048fefaaebcb6a638b2b344bb082c4aa2d21175 100644 (file)
@@ -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) {