diff options
Diffstat (limited to 'config-db/OpenSLX/AttributeRoster.pm')
-rw-r--r-- | config-db/OpenSLX/AttributeRoster.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-db/OpenSLX/AttributeRoster.pm b/config-db/OpenSLX/AttributeRoster.pm index 0308540e..e196b5d3 100644 --- a/config-db/OpenSLX/AttributeRoster.pm +++ b/config-db/OpenSLX/AttributeRoster.pm @@ -410,14 +410,14 @@ sub getAttrInfo } elsif (defined $params->{scope}) { my %MatchingAttributeInfo; - my $lcScope = lc($params->{scope}); + my $selectedScope = lc($params->{scope}); foreach my $attr (keys %AttributeInfo) { my $attrScope = ''; if ($attr =~ m{^(.+?)::}) { - $attrScope = $1; + $attrScope = lc($1); } - if ((!$attrScope && $lcScope eq 'core') - || lc($attrScope) eq $lcScope) { + if ((!$attrScope && $selectedScope eq 'core') + || $attrScope eq $selectedScope) { $MatchingAttributeInfo{$attr} = $AttributeInfo{$attr}; } } |