Commit 55fc32f8 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Une chaîne vide doit être considérée comme null dans...

[FIX] Une chaîne vide doit être considérée comme null dans ShibService::extractShibUserIdValueForDomainFromShibData()
parent 6c7147c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -506,7 +506,7 @@ EOS;

        foreach ($config as $array) {
            $name = $array['name'];
            $value = $this->getValueFromShibData($name, $data);
            $value = $this->getValueFromShibData($name, $data) ?: null;
            if ($value !== null) {
                $pregMatchPattern = $array['preg_match_pattern'] ?? null;
                if ($pregMatchPattern !== null) {