Commit 294be66b authored by haemmer's avatar haemmer

Used DOM localName instead nodeName (which contains namespace prefix)

parent c88df9fe
......@@ -230,8 +230,7 @@ function parseMetadata($metadataFile, $defaultLanguage){
$entityID = $EntityDescriptor->getAttribute('entityID');
foreach($EntityDescriptor->childNodes as $RoleDescriptor) {
$nodeName = $RoleDescriptor->nodeName;
$nodeName = preg_replace('/^(\w+\:)/', '', $nodeName);
$nodeName = $RoleDescriptor->localName;
switch($nodeName){
case 'IDPSSODescriptor':
$IDP = processIDPRoleDescriptor($RoleDescriptor);
......
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