Skip to content

Commit 83cf0e3

Browse files
Fix bug with aggregator, limiting subset of available metadata...
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1525 44740490-163a-0410-bde0-09ae8108e29a
1 parent 5657c3c commit 83cf0e3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

modules/aggregator/www/index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$metadataSets = $aggregatorConfig->getArray('default-set');
1313
}
1414
if (isset($_REQUEST['set'])) {
15-
switch($_REQUEST) {
15+
switch($_REQUEST['set']) {
1616
case 'saml2' :
1717
$metadataSets = array('saml20-idp-remote', 'saml20-sp-remote'); break;
1818
case 'shib13' :
@@ -27,6 +27,8 @@
2727
}
2828
}
2929

30+
// print_r($metadataSets); exit;
31+
3032
if (!array_key_exists('id', $_GET)) {
3133
$t = new SimpleSAML_XHTML_Template($globalConfig, 'aggregator:list.php');
3234
$t->data['sources'] = array_keys($aggregators);

0 commit comments

Comments
 (0)