Skip to content
Snippets Groups Projects
Unverified Commit 0f8cca04 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Fix missing email addresses

parent eb8e487d
No related branches found
No related tags found
No related merge requests found
Pipeline #84249 passed with warnings
...@@ -260,7 +260,7 @@ class LDAPApi implements LoggerAwareInterface, ServiceSubscriberInterface ...@@ -260,7 +260,7 @@ class LDAPApi implements LoggerAwareInterface, ServiceSubscriberInterface
$person->setFamilyName($user->getFirstAttribute($this->familyNameAttributeName)); $person->setFamilyName($user->getFirstAttribute($this->familyNameAttributeName));
if ($this->emailAttributeName !== '') { if ($this->emailAttributeName !== '') {
$person->setEmail($user->getFirstAttribute($this->emailAttributeName)); $person->setEmail($user->getFirstAttribute($this->emailAttributeName) ?? '');
} }
$birthDateString = $this->birthdayAttributeName !== '' ? $birthDateString = $this->birthdayAttributeName !== '' ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment