Skip to content
Snippets Groups Projects
Unverified Commit b290d77b authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Bugfix: use getSurName getter method

parent 7112fafa
No related branches found
No related tags found
No related merge requests found
...@@ -1211,7 +1211,7 @@ class SAMLParser ...@@ -1211,7 +1211,7 @@ class SAMLParser
$contactPerson['givenName'] = $element->getGivenName(); $contactPerson['givenName'] = $element->getGivenName();
} }
if ($element->getSurName() !== null) { if ($element->getSurName() !== null) {
$contactPerson['surName'] = $element->SurName; $contactPerson['surName'] = $element->SurName();
} }
if ($element->getEmailAddress() !== []) { if ($element->getEmailAddress() !== []) {
$contactPerson['emailAddress'] = $element->getEmailAddress(); $contactPerson['emailAddress'] = $element->getEmailAddress();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment