Skip to content
Snippets Groups Projects
Commit 83cf0e3a authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
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
parent 5657c3c2
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment