From cfd1741c971dbedd907af8f8d359f04155a4b8ad Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 17 Aug 2009 09:04:25 +0000
Subject: [PATCH] SimpleSAML_Auth_ProcessingChain: Use getArray() instead of
 getValue().

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1674 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Auth/ProcessingChain.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/Auth/ProcessingChain.php b/lib/SimpleSAML/Auth/ProcessingChain.php
index 832f1cc0e..238b58f84 100644
--- a/lib/SimpleSAML/Auth/ProcessingChain.php
+++ b/lib/SimpleSAML/Auth/ProcessingChain.php
@@ -53,9 +53,9 @@ class SimpleSAML_Auth_ProcessingChain {
 		$this->filters = array();
 		
 		$config = SimpleSAML_Configuration::getInstance();
-		$configauthproc = $config->getValue('authproc.' . $mode);
+		$configauthproc = $config->getArray('authproc.' . $mode, NULL);
 		
-		if (!empty($configauthproc) && is_array($configauthproc)) {
+		if (!empty($configauthproc)) {
 			$configfilters = self::parseFilterList($configauthproc);
 			self::addFilters($this->filters, $configfilters);
 		}
-- 
GitLab