Skip to content
Snippets Groups Projects
Commit 5298f510 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

more readable

parent 6a1b8704
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ use strict;
use warnings;
use English qw(-no_match_vars);
use XML::LibXML;
use XML::LibXML qw(:libxml);
use IdPAccountManager::Tools;
......@@ -58,7 +58,7 @@ sub parse {
foreach my $child ($EntityDescriptor->childNodes()) {
## Ignoringnodes of type XML::LibXML::Text or XML::LibXML::Comment
next unless (ref($child) =~ /^XML::LibXML::Element/);
next unless $child->nodeType() == XML_ELEMENT_NODE;
if ($child->nodeName =~ /IDPSSODescriptor$/) {
......
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