Skip to content
Snippets Groups Projects
Commit c44c24cd authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Bugfix: default to true if include declaration in metadata filter

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1049 44740490-163a-0410-bde0-09ae8108e29a
parent 18c2ecdb
No related branches found
No related tags found
No related merge requests found
......@@ -103,8 +103,8 @@ class sspmod_discopower_PowerIdPDisco extends SimpleSAML_XHTML_IdPDisco {
if (!array_key_exists('tags.exclude', $filter)) $filter['tags.exclude'] = array();
$defaultrule = TRUE;
if ( array_key_exists('entities.include', $filter) ||
array_key_exists('tags.include', $filter)) {
if ( array_key_exists('entities.include', $spmd['discopower.filter'] ) ||
array_key_exists('tags.include', $spmd['discopower.filter'])) {
$defaultrule = FALSE;
}
......
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