From c0df618e4bff81d639d3834caae827caa08c1366 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Thu, 1 Oct 2009 11:45:08 +0000
Subject: [PATCH] Fix incorrect case on $assertion->getNameId().

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1809 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/saml/www/sp/saml2-acs.php | 2 +-
 modules/saml2/www/sp/acs.php      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/saml/www/sp/saml2-acs.php b/modules/saml/www/sp/saml2-acs.php
index 494709305..7e7440036 100644
--- a/modules/saml/www/sp/saml2-acs.php
+++ b/modules/saml/www/sp/saml2-acs.php
@@ -50,7 +50,7 @@ try {
 	SimpleSAML_Auth_State::throwException($state, $e);
 }
 
-$nameId = $assertion->getNameID();
+$nameId = $assertion->getNameId();
 $sessionIndex = $assertion->getSessionIndex();
 
 /* We need to save the NameID and SessionIndex for logout. */
diff --git a/modules/saml2/www/sp/acs.php b/modules/saml2/www/sp/acs.php
index 8a743f420..06f93b32a 100644
--- a/modules/saml2/www/sp/acs.php
+++ b/modules/saml2/www/sp/acs.php
@@ -50,7 +50,7 @@ try {
 	SimpleSAML_Auth_State::throwException($state, $e);
 }
 
-$nameId = $assertion->getNameID();
+$nameId = $assertion->getNameId();
 $sessionIndex = $assertion->getSessionIndex();
 
 /* We need to save the NameID and SessionIndex for logout. */
-- 
GitLab