From 0a4f748a2ea8b56c7205edccec5ac8d3ed95a8f5 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Wed, 19 Aug 2009 06:16:05 +0000 Subject: [PATCH] saml2_Message: Fix generation of NameID based on attributes. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1691 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml2/lib/Message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saml2/lib/Message.php b/modules/saml2/lib/Message.php index be6af3340..ed71237d1 100644 --- a/modules/saml2/lib/Message.php +++ b/modules/saml2/lib/Message.php @@ -433,7 +433,7 @@ class sspmod_saml2_Message { return SimpleSAML_Utilities::generateID(); } - $value = $attributes[$attribute][0]; + return $attributes[$attribute][0]; } -- GitLab