From f1a275523cbca8c90c1cd2b1946e97122da8e761 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 27 Oct 2008 09:47:50 +0000 Subject: [PATCH] exampleauth/Static: Fix bug in constructor. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@945 44740490-163a-0410-bde0-09ae8108e29a --- modules/exampleauth/lib/Auth/Source/Static.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exampleauth/lib/Auth/Source/Static.php b/modules/exampleauth/lib/Auth/Source/Static.php index c2a07ccb4..324c1937b 100644 --- a/modules/exampleauth/lib/Auth/Source/Static.php +++ b/modules/exampleauth/lib/Auth/Source/Static.php @@ -35,7 +35,7 @@ class sspmod_exampleauth_Auth_Source_Static extends SimpleSAML_Auth_Source { /* Parse attributes. */ try { - $this->attributes = SimpleSAML_Utilities::parseAttributes($attributes); + $this->attributes = SimpleSAML_Utilities::parseAttributes($config); } catch(Exception $e) { throw new Exception('Invalid attributes for authentication source ' . $this->authId . ': ' . $e->getMessage()); -- GitLab