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
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment