From c4b24f01484263e614cdf05cd32c49f43fc038e6 Mon Sep 17 00:00:00 2001
From: Guy Halse <guy@tenet.ac.za>
Date: Fri, 4 Jan 2019 14:27:13 +0200
Subject: [PATCH] Attribute names are not functions

Fixed typo introduced by #1008
---
 lib/SimpleSAML/Metadata/SAMLParser.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index 4ed78b051..3f9eb3bca 100644
--- a/lib/SimpleSAML/Metadata/SAMLParser.php
+++ b/lib/SimpleSAML/Metadata/SAMLParser.php
@@ -1044,7 +1044,7 @@ class SAMLParser
                             $attrNameFormat = $attr->getNameFormat();
                             $attrValue = $attr->getAttributeValue();
 
-                            if ($attrName() === null || $attrValue === []) {
+                            if ($attrName === null || $attrValue === []) {
                                 continue;
                             }
 
-- 
GitLab