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