From d616d51505d53fadfa7e8e59e3ff7f9a086ff1f1 Mon Sep 17 00:00:00 2001
From: Jacob Christiansen <jach@wayf.dk>
Date: Tue, 4 Jan 2011 14:20:16 +0000
Subject: [PATCH] Fixed uninitialized variabel

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2696 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/consent/www/getconsent.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/consent/www/getconsent.php b/modules/consent/www/getconsent.php
index fab2c41ae..7e9819d7c 100644
--- a/modules/consent/www/getconsent.php
+++ b/modules/consent/www/getconsent.php
@@ -26,7 +26,7 @@ if (!array_key_exists('StateId', $_REQUEST)) {
 
 $id = $_REQUEST['StateId'];
 $state = SimpleSAML_Auth_State::loadState($id, 'consent:request');
-
+$spentityid = $state['core:SP'];
 
 if (array_key_exists('yes', $_REQUEST)) {
 	/* The user has pressed the yes-button. */
@@ -156,5 +156,3 @@ if (array_key_exists('consent:hiddenAttributes', $state)) {
 
 $t->show();
 exit;
-
-?>
\ No newline at end of file
-- 
GitLab