From 238ec6edaede848f12e37508c422948f8dfd5154 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 17 Jun 2008 10:56:25 +0000
Subject: [PATCH] Fix shib13 consent to support storing consent in database.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@666 44740490-163a-0410-bde0-09ae8108e29a
---
 www/shib13/idp/SSOService.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/shib13/idp/SSOService.php b/www/shib13/idp/SSOService.php
index dcdcc1b38..f991cd178 100644
--- a/www/shib13/idp/SSOService.php
+++ b/www/shib13/idp/SSOService.php
@@ -137,7 +137,8 @@ if (!$session->isAuthenticated($authority) ) {
 		/*
 		 * Attribute handling
 		 */
-		$afilter = new SimpleSAML_XML_AttributeFilter($config, $session->getAttributes());
+		$attributes = $session->getAttributes();
+		$afilter = new SimpleSAML_XML_AttributeFilter($config, $attributes);
 		$afilter->process($idpmetadata, $spmetadata);
 
 		/**
-- 
GitLab