Skip to content
Snippets Groups Projects
Commit 467dd59f authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Just like the other elements, only create a contacts key if it has content

parent 011e7ca9
No related branches found
No related tags found
No related merge requests found
......@@ -476,9 +476,10 @@ class SAMLParser
$ret['url'] = $this->organizationURL;
$ret['OrganizationURL'] = $this->organizationURL;
}
//add contact metadata
$ret['contacts'] = $this->contacts;
// add contact metadata
if (!empty($this->contacts)) {
$ret['contacts'] = $this->contacts;
}
return $ret;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment