Skip to content
Snippets Groups Projects
Commit 0cfc7f37 authored by Olav Morken's avatar Olav Morken
Browse files

aggregator: Ensure that entityid and metadata-set are always set.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1939 44740490-163a-0410-bde0-09ae8108e29a
parent 0dafd552
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,10 @@ class sspmod_aggregator_Aggregator {
foreach ($this->sets as $set) {
foreach ($source->getMetadataSet($set) as $entityId => $metadata) {
$metadata['entityid'] = $entityId;
$metadata['metadata-set'] = $set;
if (isset($metadata['tags']) &&
count(array_intersect($this->excludeTags, $metadata['tags'])) > 0) {
......
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