From 83cf0e3a91eae9546a4164f45e45142cda1a6db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 16 Jun 2009 12:14:31 +0000 Subject: [PATCH] Fix bug with aggregator, limiting subset of available metadata... git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1525 44740490-163a-0410-bde0-09ae8108e29a --- modules/aggregator/www/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/aggregator/www/index.php b/modules/aggregator/www/index.php index 282aa97f5..36a34dc14 100644 --- a/modules/aggregator/www/index.php +++ b/modules/aggregator/www/index.php @@ -12,7 +12,7 @@ if ($aggregatorConfig->hasValue('default-set')) { $metadataSets = $aggregatorConfig->getArray('default-set'); } if (isset($_REQUEST['set'])) { - switch($_REQUEST) { + switch($_REQUEST['set']) { case 'saml2' : $metadataSets = array('saml20-idp-remote', 'saml20-sp-remote'); break; case 'shib13' : @@ -27,6 +27,8 @@ if (isset($_REQUEST['set'])) { } } +// print_r($metadataSets); exit; + if (!array_key_exists('id', $_GET)) { $t = new SimpleSAML_XHTML_Template($globalConfig, 'aggregator:list.php'); $t->data['sources'] = array_keys($aggregators); -- GitLab