diff --git a/modules/consent/www/getconsent.php b/modules/consent/www/getconsent.php index fab2c41aec15e579d4cfb826909c5cebb6f45280..7e9819d7cc4ea139c5f5a0c622443549ee858d37 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