From c3f7bb8df43ca8cb87c2c43274a0afd3fbac4278 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Fri, 3 Nov 2017 14:43:39 +0100 Subject: [PATCH] use consistent argument names --- lib/IdPAccountManager/SAMLMetadata.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/IdPAccountManager/SAMLMetadata.pm b/lib/IdPAccountManager/SAMLMetadata.pm index 8906a25..53a45fc 100644 --- a/lib/IdPAccountManager/SAMLMetadata.pm +++ b/lib/IdPAccountManager/SAMLMetadata.pm @@ -207,9 +207,7 @@ sub parse { } ## Filter entities based on type - next - if (defined $args{filter_entity_type} - && ($args{filter_entity_type} ne $data->{type})); + next if $args{entity_type} && $args{entity_type} ne $data->{type}; ## Merge domains in a single string my $domains = join(',', @{ $data->{domain} }) -- GitLab