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

core:StatisticsWithAttribute: Fix invalid variable name.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2599 44740490-163a-0410-bde0-09ae8108e29a
parent 94fcba86
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ class sspmod_core_Auth_Process_StatisticsWithAttribute extends SimpleSAML_Auth_P ...@@ -38,7 +38,7 @@ class sspmod_core_Auth_Process_StatisticsWithAttribute extends SimpleSAML_Auth_P
if (array_key_exists('type', $config)) { if (array_key_exists('type', $config)) {
$this->typeTag = $config['type']; $this->typeTag = $config['type'];
if (!is_string($this->attribute)) { if (!is_string($this->typeTag)) {
throw new Exception('Invalid typeTag given to core:StatisticsWithAttribute filter.'); throw new Exception('Invalid typeTag given to core:StatisticsWithAttribute filter.');
} }
} }
......
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