From 54d400d47439ad671600b802d8a2d5522c8435f5 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 25 Oct 2010 11:45:04 +0000 Subject: [PATCH] core:StatisticsWithAttribute: Fix invalid variable name. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2599 44740490-163a-0410-bde0-09ae8108e29a --- modules/core/lib/Auth/Process/StatisticsWithAttribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/lib/Auth/Process/StatisticsWithAttribute.php b/modules/core/lib/Auth/Process/StatisticsWithAttribute.php index bb4395eac..c8f876075 100644 --- a/modules/core/lib/Auth/Process/StatisticsWithAttribute.php +++ b/modules/core/lib/Auth/Process/StatisticsWithAttribute.php @@ -38,7 +38,7 @@ class sspmod_core_Auth_Process_StatisticsWithAttribute extends SimpleSAML_Auth_P if (array_key_exists('type', $config)) { $this->typeTag = $config['type']; - if (!is_string($this->attribute)) { + if (!is_string($this->typeTag)) { throw new Exception('Invalid typeTag given to core:StatisticsWithAttribute filter.'); } } -- GitLab